Sha256: fd8ac8297bf1005d08091b0da7383ac4d4c771793e5bea41a4aa06c13f161f73
Contents?: true
Size: 431 Bytes
Versions: 3
Compression:
Stored size: 431 Bytes
Contents
#require 'logger' #require 'active_record' 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' require 'lib/blueprints' Spec::Runner.configure do |config| config.mock_with :mocha end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
blueprints-0.7.3 | spec/unit/spec_helper.rb |
blueprints-0.7.2 | spec/unit/spec_helper.rb |
blueprints-0.7.1 | spec/unit/spec_helper.rb |