diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-01-27 15:00:37 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-01-27 15:00:37 -0800 |
commit | 89631c6fb182da8931a3a0e53f2b17f3d52f19cb (patch) | |
tree | e703c926845ae6e90ebe6bb92b6f45585c111d6a | |
parent | bbaabba8037e0f835353564ac0d04bd41aeba371 (diff) | |
download | mixlib-shellout-89631c6fb182da8931a3a0e53f2b17f3d52f19cb.tar.gz |
try again
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/mixlib/shellout_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mixlib/shellout_spec.rb b/spec/mixlib/shellout_spec.rb index 32742ab..a55b3c0 100644 --- a/spec/mixlib/shellout_spec.rb +++ b/spec/mixlib/shellout_spec.rb @@ -1130,7 +1130,7 @@ describe Mixlib::ShellOut do context "and child processes should be killed" do it "kills the child processes" do - expect(shell_out).to receive(:kill_process) do |instance| + expect(shell_cmd).to receive(:kill_process) do |instance| expect(instance.wmi_ole_object.Name).to match(/powershell/) Process.kill(:KILL, instance.wmi_ole_object.processid) end |