diff --git a/features/support/env.rb b/features/support/env.rb index f34175d..d9dc355 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -4,6 +4,8 @@ # instead of editing this one. Cucumber will automatically load all features/**/*.rb # files. +ENV["RAILS_ENV"] ||= "test" + require File.expand_path(File.dirname(__FILE__) + '/../../config/environment') require 'cucumber/rails' -- libgit2 0.21.2