summaryrefslogtreecommitdiff
path: root/spec/unit/client_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/client_spec.rb')
-rw-r--r--spec/unit/client_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/client_spec.rb b/spec/unit/client_spec.rb
index 2aff7b2a71..d92b2e2358 100644
--- a/spec/unit/client_spec.rb
+++ b/spec/unit/client_spec.rb
@@ -448,7 +448,7 @@ EOM
end
it "should log and continue on" do
- expect(Chef::Log).to receive(:debug)
+ expect(logger).to receive(:trace)
client.load_required_recipe(rest, run_context)
end
end
@@ -482,7 +482,7 @@ EOM
end
it "should not log a warning message" do
- expect(Chef::Log).not_to receive(:warn)
+ expect(logger).not_to receive(:warn)
client.do_windows_admin_check
end
@@ -499,7 +499,7 @@ EOM
end
it "should log a warning message" do
- expect(Chef::Log).to receive(:warn)
+ expect(logger).to receive(:warn)
client.do_windows_admin_check
end