diff options
author | Claire McQuin <claire@getchef.com> | 2014-12-15 15:29:49 -0800 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-12-17 18:52:25 -0800 |
commit | 5531cabf5640607874fd24c5e9c6006d848ec69b (patch) | |
tree | 9d3803b600b1a6b792505bc042e5862a72667485 /spec/unit/application/client_spec.rb | |
parent | 1a49821ec880ddf6ba63e17ed5dfd8ed11411d65 (diff) | |
download | chef-5531cabf5640607874fd24c5e9c6006d848ec69b.tar.gz |
Explicitly enable audits.
Diffstat (limited to 'spec/unit/application/client_spec.rb')
-rw-r--r-- | spec/unit/application/client_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/application/client_spec.rb b/spec/unit/application/client_spec.rb index e5cabcbc0e..3554b78c13 100644 --- a/spec/unit/application/client_spec.rb +++ b/spec/unit/application/client_spec.rb @@ -144,6 +144,10 @@ Enable chef-client interval runs by setting `:client_fork = true` in your config describe "audit mode" do shared_examples "experimental feature" do + before do + allow(Chef::Log).to receive(:warn) + end + it "emits a warning that audit mode is an experimental feature" do expect(Chef::Log).to receive(:warn).with(/Audit mode is an experimental feature/) app.reconfigure |