spec/spec_helper.rb in restful_resource-0.8.3 vs spec/spec_helper.rb in restful_resource-0.8.4

- old
+ new

@@ -9,5 +9,9 @@ def expect_get(url, response) expect(@mock_http).to receive(:get).with(url).and_return(response) end + +def expect_put(url, response, data: {}) + expect(@mock_http).to receive(:put).with(url, data).and_return(response) +end