spec/spec_helper.rb in mongoid-rspec-2.0.0 vs spec/spec_helper.rb in mongoid-rspec-2.1.0
- old
+ new
@@ -27,6 +27,7 @@
config.include Mongoid::Matchers
config.mock_with :rspec
config.after :all do
Mongoid::Config.purge!
end
+ config.disable_monkey_patching!
end