Sha256: a5900dc0acc6795f90dd816f23fe1c21315aa4b2ad7ad4a45dbd787d60c6225e

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

require 'rubygems'
require 'minitest/autorun'
require 'minitest/reporters'
require 'active_record'
require 'class-table-inheritance'
require 'yaml'

Minitest::Reporters.use!

database = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml'))
ActiveRecord::Base.establish_connection(database['sqlite3'])
load(File.dirname(__FILE__) + "/schema.rb") if !File.exists?(database['sqlite3'][:database])

require 'models/product'
require 'models/book'
require 'models/mod'
require 'models/mod/video'
require 'models/mod/user'
require 'models/manager'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
class-table-inheritance-1.3.1 test/test_helper.rb