spec/parse_adapter_spec.rb in dm-parse-0.3.8 vs spec/parse_adapter_spec.rb in dm-parse-0.3.9
- old
+ new
@@ -195,15 +195,6 @@
let(:query) { model.all(:order => [:rank.desc]).query }
it { should eq(:limit => 1000, :order => "-rank") }
end
end # #parse_params_for
- describe "#read" do
- let(:query) { model.all.query }
-
- it "should log error" do
- DataMapper.logger.should_receive(:error).with(an_instance_of(String)).exactly(3).times
- adapter.stub(:parse_params_for) { raise NotImplementedError }
- adapter.read query
- end
- end
end