summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJef Mathiot <jeff.mathiot@gmail.com>2014-02-21 18:14:07 +0100
committerJef Mathiot <jeff.mathiot@gmail.com>2014-02-21 18:14:07 +0100
commit9b0e528049b021fe9f78f74bdd211178aa14b624 (patch)
treea0888aec1a8a8527f94cad04ed7b49b2ee889329
parent6fc2b4d782a45ead3cf2ca14b3c3fad1d738acc2 (diff)
downloadnet-ssh-9b0e528049b021fe9f78f74bdd211178aa14b624.tar.gz
Added an optional "options" argument to test socket open method, as the transport session use it with three arguments.
-rw-r--r--lib/net/ssh/test/socket.rb2
1 files changed, 1 insertions, 1 deletions
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