DEV: Stablize postgresql fallback adapter spec.

This commit is contained in:
Guo Xiang Tan 2018-06-11 13:58:04 +08:00
parent 91557063d8
commit f9761c41a9
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ describe ActiveRecord::ConnectionHandling do
after do
postgresql_fallback_handler.setup!
postgresql_fallback_handler.clear_connections
Discourse.disable_readonly_mode(Discourse::PG_READONLY_MODE_KEY)
end
describe "#postgresql_fallback_connection" do