spec/mongo/operation/write/delete_spec.rb in mongo-2.0.6 vs spec/mongo/operation/write/delete_spec.rb in mongo-2.1.0.beta
- old
+ new
@@ -70,10 +70,10 @@
{ name: 'testing', field: 'test' }
])
end
after do
- authorized_collection.find.delete_many
+ authorized_collection.delete_many
end
context 'when deleting a single document' do
let(:delete) do