Sha256: c53db329fae137426b46427b728f363278776c273c879113ba5211209332a77f
Contents?: true
Size: 408 Bytes
Versions: 3
Compression:
Stored size: 408 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'candy' require 'spec' require 'spec/autorun' require 'mocha' Spec::Runner.configure do |config| config.mock_with :mocha config.before(:all) do $MONGO_DB = 'candy_test' end config.after(:all) do c = Mongo::Connection.new c.drop_database('candy_test') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
candy-0.1.0 | spec/spec_helper.rb |
candy-0.0.2 | spec/spec_helper.rb |
candy-0.0.1 | spec/spec_helper.rb |