diff options
author | Andrew Brown <anbrown@blackberry.com> | 2015-08-05 16:00:01 -0400 |
---|---|---|
committer | Andrew Brown <anbrown@blackberry.com> | 2015-08-05 16:00:01 -0400 |
commit | aabb201bf324f8c03fd0e55a51b91fa20e2fff55 (patch) | |
tree | 5580cdeeb59d1d270216524a247ba4f518aa64d5 | |
parent | 113e41ee7de1594c68025276de5c91afe719c99a (diff) | |
download | chef-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.
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | spec/run_oc_pedant.rb | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -3,7 +3,7 @@ gemspec gem 'rest-client', :github => 'chef/rest-client' -gem 'oc-chef-pedant', :github => 'chef/oc-chef-pedant', :tag => '2.0.0' +gem 'oc-chef-pedant', :github => 'chef/chef-server' gem 'chef', :github => 'chef/chef', :tag => '12.4.1' 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' ]) |