diff options
author | Tim Smith <tsmith@chef.io> | 2017-04-03 13:25:23 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-04-03 13:25:57 -0700 |
commit | 18660e500a9b4c8761ecdbdda82ece11fc12132b (patch) | |
tree | 9b480f03820341f385ee4b05e7111bcfdbb0d7dd /spec | |
parent | 58296dc0035e4f94a7b7cdc1db01887a3c3c1e30 (diff) | |
download | ohai-18660e500a9b4c8761ecdbdda82ece11fc12132b.tar.gz |
The secondary plugin path not existing should be info not warn levelless_warn
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/loader_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/loader_spec.rb b/spec/unit/loader_spec.rb index 300407dc..59462c0c 100644 --- a/spec/unit/loader_spec.rb +++ b/spec/unit/loader_spec.rb @@ -222,7 +222,7 @@ EOF describe "when plugin directory does not exist" do it "logs an invalid plugin path warning" do - expect(Ohai::Log).to receive(:warn).with(/The plugin path.*does not exist/) + expect(Ohai::Log).to receive(:info).with(/The plugin path.*does not exist/) allow(Dir).to receive(:exist?).with("/bogus/dir").and_return(false) Ohai::Loader::PluginFile.find_all_in("/bogus/dir") end |