Sha256: 82bfe86c9e207f8809c41a4e020bc637c9adc85a78a72df388bfdb46f6c1ea65
Contents?: true
Size: 742 Bytes
Versions: 5
Compression:
Stored size: 742 Bytes
Contents
require 'rubygems' require 'activerecord' require 'test/unit' require 'active_record/test_case' require 'shoulda' require 'mocha' begin require 'mysqlplus' rescue LoadError end Dir.chdir(File.join(File.dirname(__FILE__), '..')) ActiveRecord::Base.logger = Logger.new("debug.log") databases = YAML::load(IO.read("spec/active_record/fixtures/database.yml")) db_info = databases[ENV["DB"] || "test"] ActiveRecord::Base.establish_connection(db_info) require 'lib/blueprints' require 'spec/active_record/fixtures/fruit' require 'spec/active_record/fixtures/tree' class ActiveSupport::TestCase enable_blueprints :root => File.join(File.dirname(__FILE__), '..'), :prebuild => :big_cherry, :filename => 'spec/active_record/blueprint.rb' end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
blueprints-0.5.0 | test/test_helper.rb |
blueprints-0.4.2 | test/test_helper.rb |
blueprints-0.4.1 | test/test_helper.rb |
blueprints-0.4.0 | test/test_helper.rb |
blueprints-0.3.4 | test/test_helper.rb |