Sha256: dfbee4ac599abd5d30d5d97d438e0f0ed7aa0d4b60e5c9225ab0014f40a527e3
Contents?: true
Size: 638 Bytes
Versions: 18
Compression:
Stored size: 638 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' DatabaseCleaner.strategy = :truncation # Dir["#{File.dirname(__FILE__)}/../../shared/spec/shared_examples"].each {|f| require f} # Run the migrations Dusen::Util.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
18 entries across 18 versions & 1 rubygems