Sha256: 38756881fb2c3c440fd6b8da5ba99a27c22d6f85fa797e530178d4d00cba4271
Contents?: true
Size: 656 Bytes
Versions: 4
Compression:
Stored size: 656 Bytes
Contents
$: << File.join(File.dirname(__FILE__), "/../lib" ) # Set the default environment to sqlite3's in_memory database ENV['RAILS_ENV'] ||= 'in_memory' ENV['RAILS_ROOT'] = 'app_root' # Load the Rails environment and testing framework require "#{File.dirname(__FILE__)}/app_root/config/environment" require "#{File.dirname(__FILE__)}/../lib/assignable_values" require 'rspec/rails' # Undo changes to RAILS_ENV silence_warnings {RAILS_ENV = ENV['RAILS_ENV']} # Run the migrations ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate") RSpec.configure do |config| config.use_transactional_fixtures = true config.use_instantiated_fixtures = false end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
assignable_values-0.2.0 | spec/spec_helper.rb |
assignable_values-0.1.2 | spec/spec_helper.rb |
assignable_values-0.1.1 | spec/spec_helper.rb |
assignable_values-0.1.0 | spec/spec_helper.rb |