summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2015-01-27 14:49:55 -0800
committerdanielsdeleo <dan@getchef.com>2015-01-27 14:49:55 -0800
commitc8d59328d6ed3b1e4fb45c4d08bbf20a3be59e71 (patch)
treefdd7fe4b41f5bd5c419c7eb2ff2b79851655c48e /spec
parent3840ba64b808a935451e450fe4691d96409d28f1 (diff)
downloadchef-zero-c8d59328d6ed3b1e4fb45c4d08bbf20a3be59e71.tar.gz
Update bundle and test config for latest pedant
Diffstat (limited to 'spec')
-rw-r--r--spec/run_pedant.rb2
-rw-r--r--spec/support/pedant.rb4
2 files changed, 6 insertions, 0 deletions
diff --git a/spec/run_pedant.rb b/spec/run_pedant.rb
index 3657da8..2caf1ff 100644
--- a/spec/run_pedant.rb
+++ b/spec/run_pedant.rb
@@ -72,11 +72,13 @@ begin
Pedant.config.suite = 'api'
Pedant.config[:config_file] = 'spec/support/pedant.rb'
+
Pedant.setup([
'--skip-knife',
'--skip-validation',
'--skip-authentication',
'--skip-authorization',
+ '--skip-keys',
'--skip-omnibus'
])
diff --git a/spec/support/pedant.rb b/spec/support/pedant.rb
index d6100d2..29a0ec1 100644
--- a/spec/support/pedant.rb
+++ b/spec/support/pedant.rb
@@ -75,6 +75,10 @@ superuser_name 'admin'
superuser_key key
webui_key key
+# The Policies endpoint is feature-flagged during development. Zero supports
+# the policies endpoint, so turn it on:
+policies? true
+
# Set the platform_class
platform_class Pedant::OpenSourcePlatform