lib/httpx/adapters/webmock.rb in httpx-0.16.1 vs lib/httpx/adapters/webmock.rb in httpx-0.17.0
- old
+ new
@@ -17,11 +17,11 @@
#
module Plugin
module InstanceMethods
private
- def send_requests(*requests, options)
+ def send_requests(*requests)
request_signatures = requests.map do |request|
request_signature = _build_webmock_request_signature(request)
WebMock::RequestRegistry.instance.requested_signatures.put(request_signature)
request_signature
end
@@ -45,10 +45,10 @@
end
end
unless real_requests.empty?
reqs = real_requests.keys
- reqs.zip(super(*reqs, options)).each do |req, res|
+ reqs.zip(super(*reqs)).each do |req, res|
idx = real_requests[req]
if WebMock::CallbackRegistry.any_callbacks?
webmock_response = _build_webmock_response(req, res)
WebMock::CallbackRegistry.invoke_callbacks(