summaryrefslogtreecommitdiff
path: root/spec/input/ssh_spec.rb
diff options
context:
space:
mode:
authorKodApa85 <parsons151185@gmail.com>2018-04-13 20:30:43 +0100
committerGitHub <noreply@github.com>2018-04-13 20:30:43 +0100
commitdbbe6af563072b62e373a9824c6a23482d20896e (patch)
treeab5341e8b1cd37aa0abf54662714f272cd8f9633 /spec/input/ssh_spec.rb
parent97aa0535a0c8c237c1ccb7a1683d5f6faa1f0339 (diff)
parent56ec279b2e9e2735ed88405fd177e77f9e376801 (diff)
Merge branch 'master' into xgs4600-cli
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 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)