diff options
author | ytti <saku@ytti.fi> | 2018-04-10 12:11:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-10 12:11:26 +0300 |
commit | 7667bd285f9df6d6f2678f361e555a3bdb9e814c (patch) | |
tree | bd526bd84a65f2df2bf8989ea9bbd0f359455ea8 | |
parent | f013f7865b459534e82bc0e28692f821ded18533 (diff) | |
parent | 0e046c183afdef3be9a9f25629487817302579cf (diff) |
Merge pull request #1267 from wk/ssh-test
Update ssh_spec.rb to pass successfully
-rw-r--r-- | spec/input/ssh_spec.rb | 2 |
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) |