Sha256: 8afb9907046cccf4d5072e082653231132e519da67be16d87191a33f04cc0514
Contents?: true
Size: 689 Bytes
Versions: 2
Compression:
Stored size: 689 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 'rspec/rails' # Load dependencies require 'rspec_candy' # Require support code Dir["../shared/support/**/*.rb"].each {|f| require f} # Run the migrations print "\033[30m" # dark gray text ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate") print "\033[0m" RSpec.configure do |config| config.use_transactional_fixtures = true config.use_instantiated_fixtures = false end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rspec_candy-0.1.1 | spec/rspec2/spec_helper.rb |
rspec_candy-0.1.0 | spec/rspec2/spec_helper.rb |