spec/rapidash/client_spec.rb in rapidash-0.0.3 vs spec/rapidash/client_spec.rb in rapidash-0.0.4

- old
+ new

@@ -33,9 +33,15 @@ subject.should_receive(:request).with(:put, "foo", {}) subject.put("foo") end end + describe ".patch" do + it "should call request" do + subject.should_receive(:request).with(:patch, "foo", {}) + subject.patch("foo") + end + end describe ".delete" do it "should call request" do subject.should_receive(:request).with(:delete, "foo", {}) subject.delete("foo")