diff options
author | John McCrae <john.mccrae@progress.com> | 2022-04-06 11:15:37 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-04-06 11:15:37 -0700 |
commit | a9883654d5033f3d732d0d45c1a9ffda06488d30 (patch) | |
tree | 64862a8d0d331f8fc34f7d1419a6d575e42a2fd7 | |
parent | 34e02d2527969f3d40cfe338f4c5dbf4fd9aa124 (diff) | |
download | ohai-a9883654d5033f3d732d0d45c1a9ffda06488d30.tar.gz |
Updating for Ruby 3.1
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | spec/unit/mixin/shell_out_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/unit/mixin/shell_out_spec.rb b/spec/unit/mixin/shell_out_spec.rb index 0cf5baea..a754bdc1 100644 --- a/spec/unit/mixin/shell_out_spec.rb +++ b/spec/unit/mixin/shell_out_spec.rb @@ -89,10 +89,6 @@ describe Ohai::Mixin::ShellOut, "shell_out" do describe "when the command does not exist" do it "logs the command and error message" do - require "pry" - Pry.config.input = STDIN - Pry.config.output = STDOUT - binding.pry expect(Mixlib::ShellOut).to receive(:new).with(cmd, options).and_return(shell_out) expect(shell_out).to receive(:run_command).and_raise(Errno::ENOENT, "sparkle-dream") expect(logger).to receive(:trace) |