summaryrefslogtreecommitdiff
path: root/spec/input
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-04-10 09:33:06 +0200
committerGitHub <noreply@github.com>2018-04-10 09:33:06 +0200
commit0e046c183afdef3be9a9f25629487817302579cf (patch)
treebd526bd84a65f2df2bf8989ea9bbd0f359455ea8 /spec/input
parentf013f7865b459534e82bc0e28692f821ded18533 (diff)
Update ssh_spec.rb
Diffstat (limited to 'spec/input')
-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 d86ffa0..7be9139 100644
--- a/spec/input/ssh_spec.rb
+++ b/spec/input/ssh_spec.rb
@@ -24,7 +24,7 @@ describe Oxidized::SSH do
model = mock()
model.expects(:cfg).returns({'ssh' => []})
- @node.expects(:model).returns(model)
+ @node.expects(:model).returns(model).at_least_once
proxy = mock()
Net::SSH::Proxy::Command.expects(:new).with("ssh test.com -W %h:%p").returns(proxy)