Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 422 Bytes
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
require File.expand_path("../dummy/config/environment.rb", __FILE__)
require "rails/generators"
require "rails/test_help"
require "fileutils"
Rails.backtrace_cleaner.remove_silencers!
# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
# Remove tmp dir of dummy app
FileUtils.rm_rf "#{File.dirname(__FILE__)}/dummy/tmp"
Something went wrong with that request. Please try again.