spec/lib/frenchy/resource_spec.rb in frenchy-0.2.4 vs spec/lib/frenchy/resource_spec.rb in frenchy-0.2.5

- old
+ new

@@ -105,10 +105,10 @@ it "includes the under_score model name in extras" do response = double("Frenchy::Request", value: {}) expect(Frenchy::Request). to receive(:new). - with("httpbin", "get", "/get", {"id" => 1}, {"model" => "bin_one_endpoint", "endpoint" => "default"}). + with("httpbin", "get", "/get", {"id" => 1}, {model: "bin_one_endpoint", endpoint: "default"}). and_return(response) BinOneEndpoint.find_with_endpoint(:default, id: 1) end end \ No newline at end of file