1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in pool_conections_test [#1350 state:committed]

Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
This commit is contained in:
Amos King 2008-11-10 09:26:19 -06:00 committed by David Heinemeier Hansson
parent 334178722b
commit db7daa04b8

View file

@ -77,7 +77,7 @@ class PooledConnectionsTest < ActiveRecord::TestCase
conn_pool.checkin(conn)
end
def test_not_connected_defined_connection_reutnrs_false
def test_not_connected_defined_connection_returns_false
ActiveRecord::Base.establish_connection(@connection)
assert ! ActiveRecord::Base.connected?
end