Sha256: 1ae4d982086fe370b28d4e894aaf01b61bad13b9177fa64535a42ef9d0d484c6
Contents?: true
Size: 388 Bytes
Versions: 6
Compression:
Stored size: 388 Bytes
Contents
require 'base_spec_helper' require 'active_record' require 'rspec/rails/extensions/active_record/base' require 'shoulda' Dir[File.join(RAILS_ROOT, 'spec/support_models/**/*.rb')].each { |f| require f } ActiveRecord::Base.establish_connection( YAML.load(File.read(RAILS_ROOT + '/config/database.yml'))['test'] ) ActiveSupport::Dependencies.autoload_paths << "#{RAILS_ROOT}/app/models"
Version data entries
6 entries across 6 versions & 1 rubygems