lib/pipekit/webmock/api.rb in pipekit-webmock-0.2.0 vs lib/pipekit/webmock/api.rb in pipekit-webmock-0.3.0

- old
+ new

@@ -58,10 +58,10 @@ stub_request(:put, resource_uri(id)).with(body: body_from(params)) end def stub_get_request(params) id = params.delete(:id) - uri = "#{resource_uri(id)}&#{body_from(pagination_params)}" + uri = "#{resource_uri(id)}&#{body_from(params)}&#{body_from(pagination_params)}" stub_request(:get, uri) end def stub_search_request(params) field = params.keys.first