diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-03 23:49:41 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 11:58:43 -0300 |
commit | 94c87156fd67047d96a6805f2f7b8db0a59cd37a (patch) | |
tree | db00caf6212bb074009e887bc29ea552df9f0185 /activerecord/test/cases/connection_adapters | |
parent | 634ecdbf1b6401ded0e145b1e7c7f4808ad89398 (diff) | |
download | rails-94c87156fd67047d96a6805f2f7b8db0a59cd37a.tar.gz rails-94c87156fd67047d96a6805f2f7b8db0a59cd37a.tar.bz2 rails-94c87156fd67047d96a6805f2f7b8db0a59cd37a.zip |
Return an array of pools from `connection_pools`
Diffstat (limited to 'activerecord/test/cases/connection_adapters')
-rw-r--r-- | activerecord/test/cases/connection_adapters/connection_handler_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/test/cases/connection_adapters/connection_handler_test.rb b/activerecord/test/cases/connection_adapters/connection_handler_test.rb index 3e33b30144..b72f8ca88c 100644 --- a/activerecord/test/cases/connection_adapters/connection_handler_test.rb +++ b/activerecord/test/cases/connection_adapters/connection_handler_test.rb @@ -44,9 +44,7 @@ module ActiveRecord end def test_connection_pools - assert_deprecated do - assert_equal({ Base.connection_pool.spec => @pool }, @handler.connection_pools) - end + assert_equal([@pool], @handler.connection_pools) end end end |