ENV["RAILS_ENV"] ||= "test" root = File.dirname File.dirname(__FILE__) # Application files require File.expand_path("../dummy/config/environment", __FILE__) # Support files and Rspec settings Dir[File.join(root, "spec/support/**/*.rb")].each { |file| require file }