diff options
author | Tim Smith <tsmith84@gmail.com> | 2016-04-22 09:44:36 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2016-04-22 09:44:36 -0700 |
commit | 9b30b44caaf299edbfdb1d792fdc96149f1e2cfb (patch) | |
tree | 27c7cdaf068ced9588567db60eee446eb2dc0261 /spec/unit | |
parent | 898d8f57c5e16734982938f5c6e1cdfd6baa21b5 (diff) | |
download | ohai-9b30b44caaf299edbfdb1d792fdc96149f1e2cfb.tar.gz |
Fix rspec failureplugin_path
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/dsl/plugin_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/dsl/plugin_spec.rb b/spec/unit/dsl/plugin_spec.rb index 4b225df5..2a35701c 100644 --- a/spec/unit/dsl/plugin_spec.rb +++ b/spec/unit/dsl/plugin_spec.rb @@ -587,6 +587,7 @@ describe Ohai::DSL::Plugin::VersionVI do let(:ohai) { Ohai::System.new } it "logs a debug message when provides is used" do + allow(Ohai::Log).to receive(:debug) expect(Ohai::Log).to receive(:debug).with(/Skipping provides/) plugin = Ohai::DSL::Plugin::VersionVI.new(ohai, "/some/plugin/path.rb", "/some/plugin") plugin.provides("attribute") |