Fix test not starting with the right state.
This commit is contained in:
parent
09e7c1ce8a
commit
509ecbe9fb
|
@ -27,6 +27,8 @@ describe ActiveRecord::ConnectionHandling do
|
||||||
let(:postgresql_fallback_handler) { PostgreSQLFallbackHandler.instance }
|
let(:postgresql_fallback_handler) { PostgreSQLFallbackHandler.instance }
|
||||||
|
|
||||||
before do
|
before do
|
||||||
|
postgresql_fallback_handler.initialized = true
|
||||||
|
|
||||||
['default', multisite_db].each do |db|
|
['default', multisite_db].each do |db|
|
||||||
with_multisite_db(db) do
|
with_multisite_db(db) do
|
||||||
postgresql_fallback_handler.master_down = false
|
postgresql_fallback_handler.master_down = false
|
||||||
|
|
Loading…
Reference in New Issue