Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove no longer used method.

  • Loading branch information...
commit 53564eaf3b5af29d0e67041a0a11dcd8e4372696 1 parent b92cc6e
@i0rek i0rek authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb
View
8 lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb
@@ -79,14 +79,6 @@ def self.build_webmock_response(typhoeus_response)
webmock_response
end
- def self.stub_typhoeus(request_signature, webmock_response, typhoeus)
- response = generate_typhoeus_response(request_signature, webmock_response)
- Typhoeus.stub(
- nil,
- :method => request_signature.method,
- ).stubbed_from(:webmock).and_return(response)
- end
-
def self.generate_typhoeus_response(request_signature, webmock_response)
response = if webmock_response.should_timeout
::Typhoeus::Response.new(
Please sign in to comment.
Something went wrong with that request. Please try again.