2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

Fix test not starting with the right state.

This commit is contained in:
Guo Xiang Tan 2017-10-23 12:20:39 +08:00
parent 09e7c1ce8a
commit 509ecbe9fb

View file

@ -27,6 +27,8 @@ describe ActiveRecord::ConnectionHandling do
let(:postgresql_fallback_handler) { PostgreSQLFallbackHandler.instance }
before do
postgresql_fallback_handler.initialized = true
['default', multisite_db].each do |db|
with_multisite_db(db) do
postgresql_fallback_handler.master_down = false