spec/couchrest/designs_spec.rb in couchrest_model-1.1.0.beta2 vs spec/couchrest/designs_spec.rb in couchrest_model-1.1.0.beta3
- old
+ new
@@ -29,14 +29,9 @@
@mapper.should_receive(:foo)
CouchRest::Model::Designs::DesignMapper.stub!(:new).and_return(@mapper)
DesignModel.design { foo }
end
- it "should request a design refresh" do
- DesignModel.should_receive(:req_design_doc_refresh)
- DesignModel.design() { }
- end
-
it "should work even if a block is not provided" do
lambda { DesignModel.design }.should_not raise_error
end
end