From 82da30aa38329208126c37829501956162fa2c4d Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Thu, 25 Feb 2016 11:27:30 +0200 Subject: fix ssh test also fix warning about unused variable --- spec/input/ssh_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/input') diff --git a/spec/input/ssh_spec.rb b/spec/input/ssh_spec.rb index 0b6cf72..c4210f2 100644 --- a/spec/input/ssh_spec.rb +++ b/spec/input/ssh_spec.rb @@ -28,7 +28,7 @@ describe Oxidized::SSH do Net::SSH::Proxy::Command.expects(:new).with("ssh test.com -W %h:%p").returns(proxy) Net::SSH.expects(:start).with('93.184.216.34', 'alma', {:port => 22, :password => 'armud', :timeout => Oxidized.config.timeout, :paranoid => Oxidized.config.input.ssh.secure, :auth_methods => ['none', 'publickey', 'password', 'keyboard-interactive'], - :number_of_password_prompts => 0, :ssh_roxy => proxy}) + :number_of_password_prompts => 0, :proxy => proxy}) ssh.instance_variable_set("@exec", true) ssh.connect(@node) -- cgit v1.2.1