spec/mongo/collection/view/explainable_spec.rb in mongo-2.6.4 vs spec/mongo/collection/view/explainable_spec.rb in mongo-2.7.0.rc0
- old
+ new
@@ -12,10 +12,10 @@
let(:view) do
Mongo::Collection::View.new(authorized_collection, selector, options)
end
- after do
+ before do
authorized_collection.delete_many
end
describe '#explain' do