test/functional/test_document.rb in jmonteiro-mongo_mapper-0.1.4 vs test/functional/test_document.rb in jmonteiro-mongo_mapper-0.1.5

- old
+ new

@@ -725,20 +725,11 @@ doc = @document.new doc.expects(:valid?).never doc.save(:validate => false) @document.count.should == 1 end - - context 'calling save with the ActiveRecord style of turning validations off' do - should 'insert an invalid document' do - doc = @document.new - doc.expects(:valid?).never - doc.save(false) - @document.count.should == 1 - end - end end - + context "#save (with options)" do setup do MongoMapper.ensured_indexes = [] @document = Doc do