Sha256: be412572718e6196f1837525a60f0facd36272f009b6178fe2e33fa1ca0c0a01
Contents?: true
Size: 601 Bytes
Versions: 2
Compression:
Stored size: 601 Bytes
Contents
$:.unshift(File.dirname(__FILE__) + '/../lib') RAILS_ROOT = File.dirname(__FILE__) require 'rubygems' require 'test/unit' require 'active_record' require 'activerecord-time' require 'logger' require 'fileutils' FileUtils.rm_rf File.expand_path(':memory:', File.dirname(__FILE__)) config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml')) ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + '/debug.log') ActiveRecord::Base.establish_connection(config[ENV['DB'] || 'sqlite3']) load(File.dirname(__FILE__) + '/schema.rb') if File.exist?(File.dirname(__FILE__) + '/schema.rb')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activerecord-time-0.2.0 | test/test_helper.rb |
activerecord-time-0.1.0 | test/test_helper.rb |