summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--spec/run_oc_pedant.rb5
2 files changed, 4 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index a5413e4..6d3fbdf 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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'
])