Permalink
Browse files

forcing RAILS_ENV=test for cucumber runs

  • Loading branch information...
benilovj committed Jan 17, 2013
1 parent 8fde934 commit 522785989898c01fcd9a340fd88f6f1efcf22d22
Showing with 1 addition and 0 deletions.
  1. +1 −0 features/support/env.rb
View
@@ -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.