summaryrefslogtreecommitdiff
path: root/spec/run_oc_pedant.rb
diff options
context:
space:
mode:
authorAndrew Brown <anbrown@blackberry.com>2015-08-05 16:00:01 -0400
committerAndrew Brown <anbrown@blackberry.com>2015-08-05 16:00:01 -0400
commitaabb201bf324f8c03fd0e55a51b91fa20e2fff55 (patch)
tree5580cdeeb59d1d270216524a247ba4f518aa64d5 /spec/run_oc_pedant.rb
parent113e41ee7de1594c68025276de5c91afe719c99a (diff)
downloadchef-zero-aabb201bf324f8c03fd0e55a51b91fa20e2fff55.tar.gz
Switch to pedant in chef-server repo
Use the embedded pedant in the chef-server repo. This also requires slight changes to the pedant configuration, as the options have changed.
Diffstat (limited to 'spec/run_oc_pedant.rb')
-rw-r--r--spec/run_oc_pedant.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/run_oc_pedant.rb b/spec/run_oc_pedant.rb
index 053062a..efcaf8d 100644
--- a/spec/run_oc_pedant.rb
+++ b/spec/run_oc_pedant.rb
@@ -29,7 +29,9 @@ begin
#Pedant::Config.rerun = true
Pedant.config.suite = 'api'
+ Pedant.config.internal_server = 'http://localhost:8889'
Pedant.config[:config_file] = 'spec/support/oc_pedant.rb'
+ Pedant.config[:server_api_version] = 0
Pedant.setup([
'--skip-knife',
'--skip-keys',
@@ -40,8 +42,7 @@ begin
'--skip-authorization',
'--skip-omnibus',
'--skip-usags',
- '--skip-internal_orgs',
- '--skip-rename_org',
+ '--exclude-internal-orgs',
'--skip-headers'
])