summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-01-29 11:11:34 -0800
committerTim Smith <tsmith@chef.io>2019-01-29 11:43:06 -0800
commite143f3d3349bcde22dedd0ff76d71cb7c69840ad (patch)
tree5e02b2331d966440db19e8ae463cf5c2013f5c32
parent30ad75adeb0ff65e52deefa620b2bf238d0a2162 (diff)
downloadchef-e143f3d3349bcde22dedd0ff76d71cb7c69840ad.tar.gz
Silence the audit mode deprecation failures in testing
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/integration/client/client_spec.rb1
-rw-r--r--spec/integration/client/exit_code_spec.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/integration/client/client_spec.rb b/spec/integration/client/client_spec.rb
index 4408c00b23..0e8e37bedb 100644
--- a/spec/integration/client/client_spec.rb
+++ b/spec/integration/client/client_spec.rb
@@ -434,6 +434,7 @@ EOM
local_mode true
cookbook_path "#{path_to('cookbooks')}"
audit_mode :enabled
+ silence_deprecation_warnings %w{chef-27}
EOM
end
diff --git a/spec/integration/client/exit_code_spec.rb b/spec/integration/client/exit_code_spec.rb
index 7352863dbf..d310a56973 100644
--- a/spec/integration/client/exit_code_spec.rb
+++ b/spec/integration/client/exit_code_spec.rb
@@ -39,6 +39,7 @@ EOM
local_mode true
cookbook_path "#{path_to('cookbooks')}"
audit_mode :audit_only
+ silence_deprecation_warnings %w{chef-27}
EOM
end