We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e97eab commit f9fb0bbCopy full SHA for f9fb0bb
spec/migration_lock_timeout/migration_spec.rb
@@ -9,9 +9,6 @@
9
10
def expect_create_table
11
if ActiveRecord.gem_version >= '7.1'
12
- expect(ActiveRecord::Base.connection).to receive(:execute).
13
- with('BEGIN').
14
- and_call_original
15
expect(ActiveRecord::Base.connection).to receive(:execute).
16
with(/CREATE TABLE/).
17
and_call_original
@@ -26,7 +23,7 @@ def expect_create_table
26
23
end
27
24
28
25
RSpec.describe ActiveRecord::Migration do
29
- before { ActiveRecord::Base.logger = Logger.new(STDOUT) }
+
30
describe '#migrate' do
31
32
before(:each) do
0 commit comments