spec/finders_spec.rb in mongo_doc-0.3.1 vs spec/finders_spec.rb in mongo_doc-0.3.2
- old
+ new
@@ -56,18 +56,6 @@
FindersTest.find_one(conditions)
end
end
end
- context "all other finders" do
- before do
- FindersTest.stub(:criteria).and_return(criteria)
- end
-
- %w(count first last).each do |which|
- it "calls #{which} on the new criteria" do
- criteria.should_receive(which)
- FindersTest.send(which)
- end
- end
- end
end