Sha256: caff8de8554b5233d42881dd2c9edf7f1a7678e3a7e8ff00ff460634a0df1d1c
Contents?: true
Size: 497 Bytes
Versions: 1
Compression:
Stored size: 497 Bytes
Contents
require "rubygems" require "nilify_blanks" require "active_support" require "active_record" # Establish DB Connection config = YAML::load(IO.read(File.join(File.dirname(__FILE__), 'db', 'database.yml'))) ActiveRecord::Base.configurations = {'test' => config[ENV['DB'] || 'sqlite3']} ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations['test']) # Load Test Schema into the Database load(File.dirname(__FILE__) + "/db/schema.rb") require File.dirname(__FILE__) + '/../init'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nilify_blanks-1.0.0 | spec/spec_helper.rb |