Sha256: b40b7cdd945e52a4b85de208f519b62ff17cfd17a1786b158be14e6def34a2ed
Contents?: true
Size: 625 Bytes
Versions: 4
Compression:
Stored size: 625 Bytes
Contents
require 'fileutils' require 'activerecord' 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/db/database.yml")) db_info = databases[ENV["DB"] || "test"] ActiveRecord::Base.establish_connection(db_info) require 'spec/autorun' require 'lib/blueprints' require 'spec/db/fruit' require 'spec/db/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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
blueprints-0.2.3 | spec/spec_helper.rb |
blueprints-0.2.2 | spec/spec_helper.rb |
blueprints-0.2.1 | spec/spec_helper.rb |
blueprints-0.2.0 | spec/spec_helper.rb |