test_helper.rb 189 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 ENV['Rails.root'] ||= File.dirname(__FILE__) + '/../../../..' require File.expand_path(File.join(ENV['Rails.root'], 'config/environment.rb')) ENV["RAILS_ENV"] = "test" require 'test_help'