try reconnecting after every cuke for postgres only to try and deal with travis issues

This commit is contained in:
Maxwell Salzberg 2012-04-03 17:26:39 -07:00
parent f5754d2b71
commit 1604aedf03

View file

@ -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