diff options
author | Lamont Granquist <454857+lamont-granquist@users.noreply.github.com> | 2021-07-14 13:23:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 13:23:19 -0700 |
commit | 2754b03db0f4f1333c497bb3076783fe28965846 (patch) | |
tree | 2864528ff2411e609a40692c1784b9fa9656b825 | |
parent | 17ba8804826823f4154c466201afc2ae554d9ee6 (diff) | |
parent | 865a19f8a5a770a5e0bd3af13d5111792a4a202f (diff) | |
download | chef-2754b03db0f4f1333c497bb3076783fe28965846.tar.gz |
Merge pull request #11805 from chef/lcg/fix-ssh-specs
Fix busted ssh unit specs
-rw-r--r-- | knife/spec/unit/knife/ssh_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/knife/spec/unit/knife/ssh_spec.rb b/knife/spec/unit/knife/ssh_spec.rb index 59015f024a..ef5a40a82b 100644 --- a/knife/spec/unit/knife/ssh_spec.rb +++ b/knife/spec/unit/knife/ssh_spec.rb @@ -289,7 +289,7 @@ describe Chef::Knife::Ssh do let(:execution_channel2) { double(:execution_channel, on_data: nil, on_extended_data: nil) } let(:session_channel2) { double(:session_channel, request_pty: nil) } - let(:session) { double(:session, loop: nil) } + let(:session) { double(:session, loop: nil, close: nil) } let(:command) { "false" } |