aboutsummaryrefslogtreecommitdiffstats
path: root/features/support/env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/support/env.rb')
-rw-r--r--features/support/env.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index a84d601..4bc2cc2 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -8,10 +8,11 @@ Spork.prefork do
require 'capybara/cucumber'
require 'capybara/session'
- require 'factory_girl'
+ require 'refinery/testing/factories'
+
require 'database_cleaner'
require 'database_cleaner/cucumber'
-
+
Dir[File.expand_path("../../../spec/factories/*.rb", __FILE__)].each {|f| require f}
include ::Devise::Controllers::UrlHelpers