Skip to content

Commit

Permalink
Fixed method signature to be compatible with Ruby 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bblimke committed Dec 27, 2018
1 parent 0bb025d commit 8820c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webmock/http_lib_adapters/net_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def readuntil(*args)
module Net #:nodoc: all

class WebMockNetBufferedIO < BufferedIO
def initialize(io, **)
def initialize(io, *args)
io = case io
when Socket, OpenSSL::SSL::SSLSocket, IO
io
Expand Down

0 comments on commit 8820c9d

Please sign in to comment.