Sha256: 632cad75859613f86f9d7441c14a1754466ed9eff06fa5938f936de3d5c6d78e
Contents?: true
Size: 828 Bytes
Versions: 2
Compression:
Stored size: 828 Bytes
Contents
$: << File.join(File.dirname(__FILE__), "/../lib" ) # Set the default environment to sqlite3's in_memory database ENV['RAILS_ENV'] ||= 'in_memory' # Load the Rails environment and testing framework require "#{File.dirname(__FILE__)}/app_root/config/environment" # require "#{File.dirname(__FILE__)}/../lib/aegis" require 'spec/rails' # Undo changes to RAILS_ENV silence_warnings {RAILS_ENV = ENV['RAILS_ENV']} # Run the migrations ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate") Spec::Runner.configure do |config| config.use_transactional_fixtures = true config.use_instantiated_fixtures = false end # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aegis-2.5.3 | spec/spec_helper.rb |
aegis-2.5.2 | spec/spec_helper.rb |