Sha256: 4ffd78fe4432e087e0bff918dcfa900affad7f96673d0c0ca7c29600efa22b26
Contents?: true
Size: 591 Bytes
Versions: 9
Compression:
Stored size: 591 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 # 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