summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-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)