spec/riak/map_reduce_spec.rb in riak-client-1.0.5 vs spec/riak/map_reduce_spec.rb in riak-client-1.1.0

- old
+ new

@@ -328,14 +328,9 @@ describe "executing the map reduce job" do before :each do @mr.map("Riak.mapValues",:keep => true) end - it "should raise an exception when no phases are defined" do - @mr.query.clear - lambda { @mr.run }.should raise_error(Riak::MapReduceError) - end - it "should submit the query to the backend" do @backend.should_receive(:mapred).with(@mr).and_return([]) @mr.run.should == [] end