DEV: Refactor test to not call private method.

This commit is contained in:
Guo Xiang Tan
2018-08-21 14:29:58 +08:00
parent 48f499b324
commit 7dcc69aef4
3 changed files with 18 additions and 20 deletions

View File

@@ -133,6 +133,7 @@ RSpec.configure do |config|
end
unfreeze_time
ActionMailer::Base.deliveries.clear
raise if ActiveRecord::Base.connection_pool.stat[:busy] > 1
end