test/client_test.rb in loquor-1.5.0 vs test/client_test.rb in loquor-1.6.0
- old
+ new
@@ -34,9 +34,16 @@
deps = {config: client.config}
HttpAction::Post.expects(:post).with(url, payload, deps)
client.post(url, payload)
end
+ def test_delete_calls_deletes
+ url = "foobar"
+ client = Client.new
+ deps = {config: client.config}
+ HttpAction::Delete.expects(:delete).with(url, deps)
+ client.delete(url)
+ end
def test_get_calls_gets_with_cache_flag
url = "foobar"
client = Client.new