From 1604aedf032ad030c019072a9195de320bf43389 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Tue, 3 Apr 2012 17:26:39 -0700 Subject: [PATCH] try reconnecting after every cuke for postgres only to try and deal with travis issues --- features/support/env.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/features/support/env.rb b/features/support/env.rb index 4ff388dd3..576cc6c34 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -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