spec/rapidash/client_spec.rb in rapidash-0.0.2 vs spec/rapidash/client_spec.rb in rapidash-0.0.3
- old
+ new
@@ -26,6 +26,23 @@
subject.should_receive(:request).with(:post, "foo", {})
subject.post("foo")
end
end
+ describe ".put" do
+ it "should call request" do
+ subject.should_receive(:request).with(:put, "foo", {})
+ subject.put("foo")
+ end
+ end
+
+
+ describe ".delete" do
+ it "should call request" do
+ subject.should_receive(:request).with(:delete, "foo", {})
+ subject.delete("foo")
+ end
+ end
+
+
+
end