spec/mongo/operation/write/delete_spec.rb in mongo-2.5.0.beta vs spec/mongo/operation/write/delete_spec.rb in mongo-2.5.0
- old
+ new
@@ -150,10 +150,10 @@
end
context 'when a delete fails' do
let(:document) do
- failing_delete_doc
+ { q: { '$set' => { a: 1 } }, limit: 0 }
end
let(:result) do
delete.execute(authorized_primary)
end