Commit f88ca472dc4a613d06d7009430a1999e91052204

Authored by Rodrigo Souto
1 parent ef4af465

cucumber: ensure rails_env is test if not passed

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
features/support/env.rb
... ... @@ -4,6 +4,8 @@
4 4 # instead of editing this one. Cucumber will automatically load all features/**/*.rb
5 5 # files.
6 6  
  7 +ENV["RAILS_ENV"] ||= "test"
  8 +
7 9 require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
8 10 require 'cucumber/rails'
9 11  
... ...