summaryrefslogtreecommitdiff
path: root/spec/input/ssh_spec.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2018-04-27 14:35:34 +0300
committerGitHub <noreply@github.com>2018-04-27 14:35:34 +0300
commiteedaeff5b159a3e2dc0f2020000d2b39ccfbed2f (patch)
tree655fe8f951b06aaa94a9c9b111a6f0cbcc475915 /spec/input/ssh_spec.rb
parent1311573a1adff6edf2c0b3cfdb05ca83d6c46e73 (diff)
parent90e1c91ae52ecbcc5b733f166e110faf9b698687 (diff)
Merge pull request #1175 from laf/ssh-auth-methods
Added support for setting ssh auth methods
Diffstat (limited to 'spec/input/ssh_spec.rb')
-rw-r--r--spec/input/ssh_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/input/ssh_spec.rb b/spec/input/ssh_spec.rb
index 9e08cea..3c33cd8 100644
--- a/spec/input/ssh_spec.rb
+++ b/spec/input/ssh_spec.rb
@@ -34,7 +34,7 @@ describe Oxidized::SSH do
proxy: proxy,
password: 'armud',
number_of_password_prompts: 0,
- auth_methods: ['none', 'publickey', 'password', 'keyboard-interactive'])
+ auth_methods: %w[none publickey password])
ssh.instance_variable_set("@exec", true)
ssh.connect(@node)