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
|
Before do
|
||||||
@no_follow_diaspora_hq_setting = AppConfig[:no_follow_diasporahq]
|
@no_follow_diaspora_hq_setting = AppConfig[:no_follow_diasporahq]
|
||||||
AppConfig[:no_follow_diasporahq] = true
|
AppConfig[:no_follow_diasporahq] = true
|
||||||
|
ActiveRecord::Base.verify_active_connections! if postgres?
|
||||||
DatabaseCleaner.clean
|
DatabaseCleaner.clean
|
||||||
Devise.mailer.deliveries = []
|
Devise.mailer.deliveries = []
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue