Improve ConnectionHandlingTest

As pointed by Carlos on the PR.
This commit is contained in:
Jean Boussier 2024-02-14 14:42:26 +01:00
parent e7217c0d23
commit 17b0c0ce14
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ module ActiveRecord
assert_same ActiveRecord::Base.connection, connection assert_same ActiveRecord::Base.connection, connection
ActiveRecord::Base.with_connection do |connection2| ActiveRecord::Base.with_connection do |connection2|
assert_same leased_connection, connection assert_same leased_connection, connection2
assert_same ActiveRecord::Base.connection, connection assert_same ActiveRecord::Base.connection, connection2
end end
end end