eric-fakeweb 1.2.2.2 → 1.2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fake_web/ext/net_http.rb +2 -2
- metadata +1 -1
@@ -65,7 +65,7 @@ module Net #:nodoc: all
|
|
65
65
|
elsif FakeWeb.allow_net_connect?
|
66
66
|
connect_without_fakeweb
|
67
67
|
res = request_without_fakeweb(request, body, &block)
|
68
|
-
after_unhandled_request(request, res)
|
68
|
+
after_unhandled_request(uri, request, res, @socket.full_rbuf)
|
69
69
|
res
|
70
70
|
else
|
71
71
|
raise FakeWeb::NetConnectNotAllowedError,
|
@@ -77,7 +77,7 @@ module Net #:nodoc: all
|
|
77
77
|
def connect
|
78
78
|
end
|
79
79
|
|
80
|
-
def after_unhandled_request(request, response)
|
80
|
+
def after_unhandled_request(uri, request, response, response_buffer)
|
81
81
|
end
|
82
82
|
end
|
83
83
|
end
|