Skip to content

Commit

Permalink
Merge pull request #923 from jasl/fix-compatible-with-async-http-0_54
Browse files Browse the repository at this point in the history
Compatible with async-http 0.54+
  • Loading branch information
bblimke committed Jan 13, 2021
2 parents 3ab7694 + 8be4e93 commit 881c355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/webmock/http_lib_adapters/async_http_client_adapter.rb
Expand Up @@ -40,8 +40,8 @@ def initialize(
)
webmock_endpoint = WebMockEndpoint.new(scheme, authority, protocol)

@network_client = WebMockClient.new(endpoint, protocol, scheme, authority, **options)
@webmock_client = WebMockClient.new(webmock_endpoint, protocol, scheme, authority, **options)
@network_client = WebMockClient.new(endpoint, **options)
@webmock_client = WebMockClient.new(webmock_endpoint, **options)

@scheme = scheme
@authority = authority
Expand Down

0 comments on commit 881c355

Please sign in to comment.