From 9b0e528049b021fe9f78f74bdd211178aa14b624 Mon Sep 17 00:00:00 2001 From: Jef Mathiot Date: Fri, 21 Feb 2014 18:14:07 +0100 Subject: Added an optional "options" argument to test socket open method, as the transport session use it with three arguments. --- lib/net/ssh/test/socket.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/ssh/test/socket.rb b/lib/net/ssh/test/socket.rb index 21a20f2..76ff18e 100644 --- a/lib/net/ssh/test/socket.rb +++ b/lib/net/ssh/test/socket.rb @@ -39,7 +39,7 @@ module Net; module SSH; module Test # Allows the socket to also mimic a socket factory, simply returning # +self+. - def open(host, port) + def open(host, port, options={}) @host, @port = host, port self end -- cgit v1.2.1