Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 690 Bytes
require 'fileutils'
# Load the environment
ENV['RAILS_ENV'] = 'test'
rails_root = File.dirname(__FILE__) + '/rails_root'
require "#{rails_root}/config/environment.rb"
# Load the testing framework
require 'test_help'
silence_warnings { RAILS_ENV = ENV['RAILS_ENV'] }
# Run the migrations
ActiveRecord::Migration.verbose = false
# Setup the fixtures path
ActiveSupport::TestCase.fixture_path =
File.join(File.dirname(__FILE__), "fixtures")
class ActiveSupport::TestCase #:nodoc:
self.use_transactional_fixtures = false
self.use_instantiated_fixtures = false
require 'test/fail_macros'
require 'test/model_builder'
Jump to Line
Something went wrong with that request. Please try again.