diff options
author | Miklós Fazekas <mfazekas@szemafor.com> | 2021-01-09 14:06:44 +0100 |
---|---|---|
committer | Miklós Fazekas <mfazekas@szemafor.com> | 2021-01-09 14:06:44 +0100 |
commit | f2d49190fa1eaf166af0b6d5e06dc3325b8e9acd (patch) | |
tree | 0ce631271d36f2b5aee0e3be556dc854f5807dd5 | |
parent | 1897bef8041c38fa3fbe4e5b1098dd44f371e26e (diff) | |
download | net-ssh-f2d49190fa1eaf166af0b6d5e06dc3325b8e9acd.tar.gz |
Fixed test on github
-rw-r--r-- | test/test_known_hosts.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_known_hosts.rb b/test/test_known_hosts.rb index 6b1fda6..fcd64fa 100644 --- a/test/test_known_hosts.rb +++ b/test/test_known_hosts.rb @@ -35,7 +35,7 @@ class TestKnownHosts < NetSSHTest end def test_search_for - options = { user_known_hosts_file: path("known_hosts/github") } + options = { user_known_hosts_file: path("known_hosts/github"), global_known_hosts_file: [] } keys = Net::SSH::KnownHosts.search_for('github.com',options) assert_equal(["ssh-rsa"], keys.map(&:ssh_type)) end |