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 c509713 commit b73167fCopy full SHA for b73167f
test/simple.rb
@@ -707,7 +707,7 @@ def test_fetching_columns_for_nonexistent_table
707
def test_disconnect
708
DbType.create! :sample_string => 'sample'
709
assert_equal 1, DbType.count
710
- ActiveRecord::Base.clear_active_connections!
+ ActiveRecord::Base.connection_handler.clear_active_connections!
711
ActiveRecord::Base.connection_pool.disconnect! if ActiveRecord::Base.respond_to?(:connection_pool)
712
assert !ActiveRecord::Base.connected?
713
0 commit comments