summaryrefslogtreecommitdiff
path: root/spec/unit/log/syslog_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/log/syslog_spec.rb')
-rw-r--r--spec/unit/log/syslog_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/log/syslog_spec.rb b/spec/unit/log/syslog_spec.rb
index 4586503e88..37ee66ec40 100644
--- a/spec/unit/log/syslog_spec.rb
+++ b/spec/unit/log/syslog_spec.rb
@@ -40,8 +40,8 @@ describe "Chef::Log::Syslog", unix_only: true do
end
it "should send message with severity warning to syslog." do
- expect(syslog).to receive(:add).with(2, "No config file found or specified on command line, using command line options.", nil)
- Chef::Log.warn("No config file found or specified on command line, using command line options.")
+ expect(syslog).to receive(:add).with(2, "No config file found or specified on command line, using command line options instead.", nil)
+ Chef::Log.warn("No config file found or specified on command line, using command line options instead.")
end
it "should fallback into send message with severity info to syslog when wrong format." do