Sha256: a44265d4c439938e8f0d85673a70e52f41ece62f5d8ecd0082636696b232a9cc
Contents?: true
Size: 601 Bytes
Versions: 6
Compression:
Stored size: 601 Bytes
Contents
$: << File.join(File.dirname(__FILE__), "/../../lib" ) ENV['RAILS_ENV'] = 'test' ENV['RAILS_ROOT'] = 'app_root' # Load the Rails environment and testing framework require "#{File.dirname(__FILE__)}/../app_root/config/environment" require 'rspec/rails' Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} require 'rspec_candy/all' # Run the migrations print "\033[30m" # dark gray text ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate") print "\033[0m" RSpec.configure do |config| config.use_transactional_fixtures = true config.use_instantiated_fixtures = false end
Version data entries
6 entries across 6 versions & 1 rubygems