summaryrefslogtreecommitdiff
path: root/test/start/test_options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/start/test_options.rb')
-rw-r--r--test/start/test_options.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/start/test_options.rb b/test/start/test_options.rb
index 43a88a7..601f3d5 100644
--- a/test/start/test_options.rb
+++ b/test/start/test_options.rb
@@ -60,6 +60,13 @@ module NetSSH
end
end
+ def test_start_should_accept_pubkey_algorithms_option
+ assert_nothing_raised do
+ options = { pubkey_algorithms: %w[ssh-rsa] }
+ Net::SSH.start('localhost', 'testuser', options)
+ end
+ end
+
def test_start_should_accept_remote_user_option
assert_nothing_raised do
options = { remote_user: 'foo' }