summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAri Lerner <ari.lerner@citrusbyte.com>2008-12-17 11:55:17 -0800
committerAri Lerner <ari.lerner@citrusbyte.com>2008-12-17 11:55:17 -0800
commite674951c1866aefcdb56831c0aa2181ff8a3e586 (patch)
tree4efadb32921806433e4ff808a28a7f2e4f73d066 /test
parentcdd17a57053af11a215caac33afc2002d73a8c1c (diff)
downloadnet-ssh-e674951c1866aefcdb56831c0aa2181ff8a3e586.tar.gz
Faked the public key requirement as it is only used to hash they known identities
Diffstat (limited to 'test')
-rw-r--r--test/authentication/test_key_manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/authentication/test_key_manager.rb b/test/authentication/test_key_manager.rb
index f6486f9..317de45 100644
--- a/test/authentication/test_key_manager.rb
+++ b/test/authentication/test_key_manager.rb
@@ -75,7 +75,7 @@ module Authentication
def stub_file_key(name, key, also_private=false)
manager.add(name)
File.expects(:readable?).returns(true)
- Net::SSH::KeyFactory.expects(:load_public_key).with("#{name}.pub").returns(key)
+ Net::SSH::KeyFactory.expects(:load_public_key).with("#{name}").returns(key)
Net::SSH::KeyFactory.expects(:load_private_key).with(name, nil).returns(key) if also_private
end