Sha256: 2235612d62c6dbfafa443824b98674567d520aad15077cd0c51d2433ed3e3812

Contents?: true

Size: 441 Bytes

Versions: 4

Compression:

Stored size: 441 Bytes

Contents

$LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib"
require "rubygems"
require "spec"
require "sham"

begin
  $LOAD_PATH.unshift File.dirname(__FILE__) + "/../../mongomapper/lib"
rescue
  gem "mongomapper"
end

require "mongomapper"

MongoMapper.database = "machinist_mongomapper"

Spec::Runner.configure do |config|
  config.before(:each) { Sham.reset }
  config.after(:all)   { MongoMapper.database.collections.each { |c| c.clear } }
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
yeastymobs-machinist_mongomapper-0.9.3 spec/spec_helper.rb
machinist_mongomapper-0.9.6 spec/spec_helper.rb
machinist_mongomapper-0.9.5 spec/spec_helper.rb
machinist_mongomapper-0.9.4 spec/spec_helper.rb