summaryrefslogtreecommitdiff
path: root/spec/input
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2018-06-27 19:50:59 +0300
committerSaku Ytti <saku@ytti.fi>2018-06-27 19:50:59 +0300
commit55602de1caa49016a2b54a34424e08c37ab2f398 (patch)
tree1dc36aaa8bf64ff012b3721facce5ed0b4baf6bf /spec/input
parent23603127362e6f4a7606325501a3ce26ef8317a1 (diff)
Don't use SSH logger unless input debug is set
Diffstat (limited to 'spec/input')
-rw-r--r--spec/input/ssh_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/input/ssh_spec.rb b/spec/input/ssh_spec.rb
index f9704d4..9864373 100644
--- a/spec/input/ssh_spec.rb
+++ b/spec/input/ssh_spec.rb
@@ -34,7 +34,6 @@ describe Oxidized::SSH do
Net::SSH.expects(:start).with('93.184.216.34', 'alma', port: 22,
paranoid: Oxidized.config.input.ssh.secure,
keepalive: true,
- logger: Oxidized.logger,
password: 'armud',
timeout: Oxidized.config.timeout,
number_of_password_prompts: 0,
@@ -66,7 +65,6 @@ describe Oxidized::SSH do
Net::SSH.expects(:start).with('example.com', 'alma', port: 22,
paranoid: Oxidized.config.input.ssh.secure,
keepalive: true,
- logger: Oxidized.logger,
password: 'armud',
timeout: Oxidized.config.timeout,
number_of_password_prompts: 0,