Sha256: 8ba3a57ca6c0de738e5a9d05526875ae87240b4a02d1f577c14a6826bc674722
Contents?: true
Size: 599 Bytes
Versions: 3
Compression:
Stored size: 599 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.enable_blueprints :root => File.expand_path(File.join(File.dirname(__FILE__), '..')), :prebuild => :big_cherry end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
sinsiliux-blueprints-0.1.1 | spec/spec_helper.rb |
blueprints-0.1.1 | spec/spec_helper.rb |
blueprints-0.1.0 | spec/spec_helper.rb |