Sha256: 33cb6b5d5195a13b282830d5da8b6c389c442fe7a552a89929d2afc6a3447f93
Contents?: true
Size: 705 Bytes
Versions: 5
Compression:
Stored size: 705 Bytes
Contents
require 'rubygems' require 'fileutils' require 'active_record' 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 'spec/autorun' require 'lib/blueprints' require 'spec/active_record/fixtures/fruit' require 'spec/active_record/fixtures/tree' Spec::Runner.configure do |config| config.mock_with :mocha config.enable_blueprints :root => File.expand_path(File.join(File.dirname(__FILE__))), :prebuild => :big_cherry end
Version data entries
5 entries across 5 versions & 1 rubygems