summaryrefslogtreecommitdiff
path: root/spec/unit/loader_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/loader_spec.rb')
-rw-r--r--spec/unit/loader_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/loader_spec.rb b/spec/unit/loader_spec.rb
index 3f3c1778..a35a1421 100644
--- a/spec/unit/loader_spec.rb
+++ b/spec/unit/loader_spec.rb
@@ -185,9 +185,9 @@ EOF
describe "when plugin directory does not exist" do
it "logs an invalid plugin path warning" do
- expect(Ohai::Log).to receive(:info).with(/The plugin path.*does not exist/)
+ expect(Ohai::Log).to receive(:debug).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")
+ loader.plugin_files_by_dir("/bogus/dir")
end
end
end