try reconnecting after every cuke for postgres only to try and deal with travis issues
This commit is contained in:
parent
f5754d2b71
commit
1604aedf03
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ Spork.each_run do
|
|||
Before do
|
||||
@no_follow_diaspora_hq_setting = AppConfig[:no_follow_diasporahq]
|
||||
AppConfig[:no_follow_diasporahq] = true
|
||||
ActiveRecord::Base.verify_active_connections! if postgres?
|
||||
DatabaseCleaner.clean
|
||||
Devise.mailer.deliveries = []
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue