diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-04-28 16:28:52 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-04-28 16:28:52 -0700 |
commit | 450ee3767c58c297e884e24cf5796a6a16818d6e (patch) | |
tree | fd34fdd59289cc5944f53da83d4cfefc8b3ee586 /spec/support/shared/unit/mock_shellout.rb | |
parent | 52328f2e7d6d73690c023843f887604dbcba1d14 (diff) | |
download | chef-450ee3767c58c297e884e24cf5796a6a16818d6e.tar.gz |
Fix more ruby 2.7 warning logspamlcg/more-ruby-27-logging-suppression
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/support/shared/unit/mock_shellout.rb')
-rw-r--r-- | spec/support/shared/unit/mock_shellout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/unit/mock_shellout.rb b/spec/support/shared/unit/mock_shellout.rb index dac51be798..0ea8f64c4d 100644 --- a/spec/support/shared/unit/mock_shellout.rb +++ b/spec/support/shared/unit/mock_shellout.rb @@ -23,7 +23,7 @@ class MockShellout module RSpec def mock_shellout_command(command, **result) - allow(::Mixlib::ShellOut).to receive(:new).with(command, anything).and_return MockShellout.new(result) + allow(::Mixlib::ShellOut).to receive(:new).with(command, anything).and_return MockShellout.new(**result) end end |