summaryrefslogtreecommitdiff
path: root/test/transport
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2008-03-22 14:48:08 -0600
committerJamis Buck <jamis@37signals.com>2008-03-22 14:48:08 -0600
commitbccc80a7ef7bf824723bc748ddb53ffcea3bb76e (patch)
treeb5adf353a01b6cf3a16461857d63422077c0fe21 /test/transport
parentf6ee3efad5f6abb86d1b6515c45b91e6f8a55c92 (diff)
downloadnet-ssh-bccc80a7ef7bf824723bc748ddb53ffcea3bb76e.tar.gz
add support for :user_known_hosts_file and :global_known_hosts_file
Diffstat (limited to 'test/transport')
-rw-r--r--test/transport/test_algorithms.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transport/test_algorithms.rb b/test/transport/test_algorithms.rb
index 7350fb1..877e557 100644
--- a/test/transport/test_algorithms.rb
+++ b/test/transport/test_algorithms.rb
@@ -37,7 +37,7 @@ module Transport
end
def test_constructor_with_known_hosts_reporting_known_host_key_should_use_that_host_key_type
- Net::SSH::KnownHosts.expects(:search_for).with("net.ssh.test,127.0.0.1").returns([stub("key", :ssh_type => "ssh-dss")])
+ Net::SSH::KnownHosts.expects(:search_for).with("net.ssh.test,127.0.0.1", {}).returns([stub("key", :ssh_type => "ssh-dss")])
assert_equal %w(ssh-dss ssh-rsa), algorithms[:host_key]
end