test/client_test.rb in loquor-1.4.0 vs test/client_test.rb in loquor-1.5.0
- old
+ new
@@ -33,17 +33,17 @@
client = Client.new
deps = {config: client.config}
HttpAction::Post.expects(:post).with(url, payload, deps)
client.post(url, payload)
end
-
+
def test_get_calls_gets_with_cache_flag
url = "foobar"
client = Client.new
deps = {config: client.config, should_cache: true}
HttpAction::Get.expects(:get).with(url, deps)
- client.get(url, cache=true)
+ client.get(url, cache: true)
end
end
end