From 75bfcfb21bfb4ec9a9166647cef9bed532f465fe Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 6 Sep 2017 15:11:34 -0700 Subject: Fix spec that counted on specific log output Signed-off-by: Tim Smith --- spec/unit/plugins/linux/filesystem_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1