summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@chef.io>2015-11-10 13:43:13 -0800
committerChris Doherty <cdoherty@chef.io>2015-11-10 15:12:04 -0800
commit61322db2fcbf1c5fa56bb7a52a35070e0a9fe12c (patch)
tree04313998d3f3dc14afee4ed22a86f9af4ec6ea29 /spec
parent409371275f66ac8a4a0de86cd8041f901351345d (diff)
downloadchef-zero-61322db2fcbf1c5fa56bb7a52a35070e0a9fe12c.tar.gz
oc_pedant.rb: add validator_key to org().
Diffstat (limited to 'spec')
-rw-r--r--spec/support/oc_pedant.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/spec/support/oc_pedant.rb b/spec/support/oc_pedant.rb
index 91ad533..c16ac60 100644
--- a/spec/support/oc_pedant.rb
+++ b/spec/support/oc_pedant.rb
@@ -61,9 +61,12 @@ server_api_version 0
# value.
include_internal false
-# This is the bit that is different from pedant.rb
-org({:name => "pedant-testorg",
- :create_me => true})
+key = 'spec/support/stickywicket.pem'
+
+org(name: "pedant-testorg",
+ create_me: true,
+ validator_key: key)
+
internal_account_url chef_server
delete_org true