ENV['RAILS_ENV'] = 'test' require File.expand_path('../dummy/config/environment.rb', __FILE__) require 'rails/test_help' Rails.backtrace_cleaner.remove_silencers! ActiveRecord::Migrator.migrate File.expand_path('../dummy/db/migrate', __FILE__) ActiveSupport::TestCase.fixture_path = File.expand_path('../fixtures', __FILE__) ActiveSupport::TestCase.fixtures :all