diff options
author | Thom May <thom@chef.io> | 2018-02-14 12:22:41 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2018-03-19 21:36:23 +0000 |
commit | 94222a8a0a1cda16d35c8f08c731a3f902449391 (patch) | |
tree | 712169a375dbf411ebfa4f205727840db279d404 /spec/unit/shell | |
parent | 7e11a4192df63ecc0166a947109878cc0070434a (diff) | |
download | chef-94222a8a0a1cda16d35c8f08c731a3f902449391.tar.gz |
Add the ability to inject log objectstm/inject_log
meaning that we can have inheritable metadata
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'spec/unit/shell')
-rw-r--r-- | spec/unit/shell/shell_session_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/unit/shell/shell_session_spec.rb b/spec/unit/shell/shell_session_spec.rb index 7ed372f375..c96453eeae 100644 --- a/spec/unit/shell/shell_session_spec.rb +++ b/spec/unit/shell/shell_session_spec.rb @@ -229,7 +229,6 @@ describe Shell::SoloLegacySession do it "runs chef with a resource collection from the compiled cookbooks" do allow(@session).to receive(:node_built?).and_return(true) - allow(Chef::Log).to receive(:level) chef_runner = double("Chef::Runner.new", :converge => :converged) expect(Chef::Runner).to receive(:new).with(an_instance_of(Chef::RunContext)).and_return(chef_runner) |