Sha256: 308696189f2741aeb8fe189a25d6225ca2254b4cf3b36a56e946aae3a53819e5
Contents?: true
Size: 547 Bytes
Versions: 18
Compression:
Stored size: 547 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 # 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