Sha256: d70fcec121a43576ef7e92cebae7533de76eb1bcdadf2e150471424cb8c770e0

Contents?: true

Size: 489 Bytes

Versions: 3

Compression:

Stored size: 489 Bytes

Contents

require "rubygems"
require "rspec"
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

3 entries across 3 versions & 1 rubygems

Version Path
nilify_blanks-1.0.3 spec/spec_helper.rb
nilify_blanks-1.0.2 spec/spec_helper.rb
nilify_blanks-1.0.1 spec/spec_helper.rb