Merge pull request #46427 from cpb/cpb-fix-clear-reloadable-connections-deprecation-warning
Fix clear_reloadable_connections! deprecation warning
This commit is contained in:
commit
1edc5ea918
|
@ -60,7 +60,7 @@ class PostgresqlAdapterTest < ActionCable::TestCase
|
||||||
assert_equal "hello world", queue.pop
|
assert_equal "hello world", queue.pop
|
||||||
end
|
end
|
||||||
|
|
||||||
ActiveRecord::Base.clear_reloadable_connections!
|
ActiveRecord::Base.connection_handler.clear_reloadable_connections!
|
||||||
|
|
||||||
assert adapter.active?
|
assert adapter.active?
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue