Sha256: de52aace4f51ffbbe883388e5d92ae6c71bddd86e4d8a15526479e9191268fb9
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
$LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib" require "rubygems" require "spec" require "sham" module Spec module MongoMapper def self.configure! ::MongoMapper.database = "machinist_mongomapper" Spec::Runner.configure do |config| config.before(:each) { Sham.reset } config.after(:all) { ::MongoMapper.database.collections.each { |c| c.remove } } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
machinist_mongo-1.0.2 | spec/spec_helper.rb |