2 require_dependency 'models/course'
5 ActiveRecord::Base.logger = Logger.new STDOUT
6 ActiveRecord::Base.logger.level = Logger::WARN
8 # Set these to your database connection strings
9 db = ENV['ARUNIT_DB'] || 'activerecord_unittest'
11 ActiveRecord::Base.configurations = {
14 :username => 'arunit',
15 :password => 'arunit',
20 :username => 'arunit2',
21 :password => 'arunit2',
26 ActiveRecord::Base.establish_connection 'arunit'
27 Course.establish_connection 'arunit2'