Skip to content
Browse files

forcing RAILS_ENV=test for cucumber runs

  • Loading branch information...
1 parent 8fde934 commit 522785989898c01fcd9a340fd88f6f1efcf22d22 @benilovj benilovj committed Jan 17, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 features/support/env.rb
View
1 features/support/env.rb
@@ -4,6 +4,7 @@
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
# files.
+ENV['RAILS_ENV'] = 'test'
require 'cucumber/rails'
# Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In

0 comments on commit 5227859

Please sign in to comment.
Something went wrong with that request. Please try again.