summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-09-06 15:11:34 -0700
committerTim Smith <tsmith@chef.io>2017-09-06 15:11:34 -0700
commit75bfcfb21bfb4ec9a9166647cef9bed532f465fe (patch)
tree0989e52b1f78b569c213d2ef4f96e6a3398df722
parent4017014982d23fd14aae7556b560e4b77e87bbdf (diff)
downloadohai-logging.tar.gz
Fix spec that counted on specific log outputlogging
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/unit/plugins/linux/filesystem_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/linux/filesystem_spec.rb b/spec/unit/plugins/linux/filesystem_spec.rb
index 65265cd4..13aeb248 100644
--- a/spec/unit/plugins/linux/filesystem_spec.rb
+++ b/spec/unit/plugins/linux/filesystem_spec.rb
@@ -536,7 +536,7 @@ BLKID_TYPE
describe "when #{command} does not exist" do
it "logs warning about #{command} missing" do
allow(plugin).to receive(:shell_out).with(/#{command}/).and_raise(Ohai::Exceptions::Exec)
- expect(Ohai::Log).to receive(:warn).with("#{command} is not available")
+ expect(Ohai::Log).to receive(:warn).with("Plugin Filesystem: #{command} binary is not available. Some data will not be available.")
plugin.run
end
end