summaryrefslogtreecommitdiff
path: root/spec/unit/client_spec.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-12-15 15:24:02 -0800
committertyler-ball <tyleraball@gmail.com>2014-12-17 18:52:25 -0800
commit1a49821ec880ddf6ba63e17ed5dfd8ed11411d65 (patch)
tree578b460ab2eb89411148fa6161872b41b9e6b87b /spec/unit/client_spec.rb
parent2dac0859f0fa1f6260fb06d937bcd36086ea166a (diff)
downloadchef-1a49821ec880ddf6ba63e17ed5dfd8ed11411d65.tar.gz
Add specs for audit-mode command-line and configuration settings.
Diffstat (limited to 'spec/unit/client_spec.rb')
-rw-r--r--spec/unit/client_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/client_spec.rb b/spec/unit/client_spec.rb
index 4f6d8a0b82..2ec32b32ac 100644
--- a/spec/unit/client_spec.rb
+++ b/spec/unit/client_spec.rb
@@ -290,6 +290,7 @@ describe Chef::Client do
Chef::Config[:client_fork] = enable_fork
Chef::Config[:cache_path] = windows? ? 'C:\chef' : '/var/chef'
Chef::Config[:why_run] = false
+ Chef::Config[:audit_mode] = :enabled
stub_const("Chef::Client::STDOUT_FD", stdout)
stub_const("Chef::Client::STDERR_FD", stderr)