diff options
author | Thom May <thom@may.lt> | 2017-04-04 07:50:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 07:50:43 +0100 |
commit | 84d717830c892b3b9ccf8a2d1e9594ff1578df0a (patch) | |
tree | af5f7d1da23e2a2d60a9113c83a108588c614a94 /spec | |
parent | c456d2a9dbb658d71ff0bbb1064b2f9e8cc92b17 (diff) | |
parent | 18660e500a9b4c8761ecdbdda82ece11fc12132b (diff) | |
download | ohai-84d717830c892b3b9ccf8a2d1e9594ff1578df0a.tar.gz |
Merge pull request #975 from chef/less_warn
The secondary plugin path not existing should be info not warn level
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 |