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 e7217c0 commit 17b0c0cCopy full SHA for 17b0c0c
activerecord/test/cases/connection_handling_test.rb
@@ -39,8 +39,8 @@ class ConnectionHandlingTest < ActiveRecord::TestCase
39
assert_same ActiveRecord::Base.connection, connection
40
41
ActiveRecord::Base.with_connection do |connection2|
42
- assert_same leased_connection, connection
43
- assert_same ActiveRecord::Base.connection, connection
+ assert_same leased_connection, connection2
+ assert_same ActiveRecord::Base.connection, connection2
44
end
45
46
0 commit comments