summaryrefslogtreecommitdiff
path: root/spec/unit/shell
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-02-14 12:22:41 +0000
committerThom May <thom@chef.io>2018-03-19 21:36:23 +0000
commit94222a8a0a1cda16d35c8f08c731a3f902449391 (patch)
tree712169a375dbf411ebfa4f205727840db279d404 /spec/unit/shell
parent7e11a4192df63ecc0166a947109878cc0070434a (diff)
downloadchef-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.rb1
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)