Sha256: bb74ae994fb285c9282e4d0983ec05371f3db8c70cdee180be9212e121a9fe5f
Contents?: true
Size: 682 Bytes
Versions: 9
Compression:
Stored size: 682 Bytes
Contents
# encoding: utf-8 $: << 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 'edge_rider/development' DatabaseCleaner.strategy = :truncation # Dir["#{File.dirname(__FILE__)}/../../shared/spec/shared_examples"].each {|f| require f} # Run the migrations EdgeRider::Development.migrate_test_database RSpec.configure do |config| config.use_transactional_fixtures = false config.use_instantiated_fixtures = false config.before(:each) do DatabaseCleaner.clean end end
Version data entries
9 entries across 9 versions & 1 rubygems