summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Brown <anbrown@blackberry.com>2015-08-12 08:46:24 -0400
committerAndrew Brown <anbrown@blackberry.com>2015-08-12 08:46:24 -0400
commitae7634c600535ba3f64ce8af31afc6fef9dab31c (patch)
tree532386130ce2104702430f9ff62e97a2f62a38ba
parentaabb201bf324f8c03fd0e55a51b91fa20e2fff55 (diff)
downloadchef-zero-ae7634c600535ba3f64ce8af31afc6fef9dab31c.tar.gz
Disable CS12 pedant flags
Chef Zero does not yet 100% support CS12, hence we need to disable several of the failing tests until the code is written.
-rw-r--r--spec/run_oc_pedant.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/spec/run_oc_pedant.rb b/spec/run_oc_pedant.rb
index efcaf8d..c0ba702 100644
--- a/spec/run_oc_pedant.rb
+++ b/spec/run_oc_pedant.rb
@@ -43,7 +43,15 @@ begin
'--skip-omnibus',
'--skip-usags',
'--exclude-internal-orgs',
- '--skip-headers'
+ '--skip-headers',
+
+ # Chef 12 features not yet 100% supported by Chef Zero
+ '--skip-policies',
+ '--skip-server-api-version',
+ '--skip-cookbook-artifacts',
+ '--skip-containers',
+ '--skip-api-v1'
+
])
result = RSpec::Core::Runner.run(Pedant.config.rspec_args)