spec/mongo/collection/view/explainable_spec.rb in mongo-2.0.6 vs spec/mongo/collection/view/explainable_spec.rb in mongo-2.1.0.beta
- old
+ new
@@ -13,10 +13,10 @@
let(:view) do
Mongo::Collection::View.new(authorized_collection, selector, options)
end
after do
- authorized_collection.find.delete_many
+ authorized_collection.delete_many
end
describe '#explain' do
let(:explain) do