diff options
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 |