Sha256: abc30997fdb7a3c0822c7ad36811af55e66b4413801be8f4bc7599827f857641
Contents?: true
Size: 504 Bytes
Versions: 4
Compression:
Stored size: 504 Bytes
Contents
require "rubygems" require "rspec" require "active_support" require "active_record" require "yaml" # 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nilify_blanks-1.3.0 | spec/spec_helper.rb |
nilify_blanks-1.2.1 | spec/spec_helper.rb |
nilify_blanks-1.2.0 | spec/spec_helper.rb |
nilify_blanks-1.1.0 | spec/spec_helper.rb |