ENV["RAILS_ENV"] ||= "test" require File.expand_path("../../../spec/dummy/config/environment.rb", __FILE__) ENV["RAILS_ROOT"] ||= File.dirname(__FILE__) + "../../../spec/dummy" require 'cucumber/rails' ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../../') Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }