Sha256: 2ed033c60438825e96693ac023b28c07e365c315da864b5dd1a98cec3ac1127b
Contents?: true
Size: 657 Bytes
Versions: 19
Compression:
Stored size: 657 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' require 'rspec_candy/all' # Load dependencies # require 'has_defaults' # Require support code # Dir["../shared/support/**/*.rb"].each {|f| require f} # 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
19 entries across 10 versions & 1 rubygems