spec/spec_helper.rb in mongomodel-0.2.5 vs spec/spec_helper.rb in mongomodel-0.2.6

- old
+ new

@@ -23,8 +23,8 @@ config.before(:all) do MongoModel.configuration.use_database('mongomodel-specs') end config.before(:each) do - MongoModel.database.collections.each { |c| c.drop } + MongoModel.database.collections.each { |c| c.drop rescue c.remove } end end