summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-11-16 11:09:22 -0800
committerJohn Keiser <john@johnkeiser.com>2015-11-16 11:09:22 -0800
commiteac29ed6cc33acbec509a147a240a9ca1a078cc3 (patch)
tree887e3b950f0e410745689426a0d695aba1fbf242
parentcd08fa83083f132dd36b5d8c51ae8c8670de3319 (diff)
downloadchef-zero-eac29ed6cc33acbec509a147a240a9ca1a078cc3.tar.gz
Add pivotal to admins and users group of new org
-rw-r--r--spec/run_oc_pedant.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/run_oc_pedant.rb b/spec/run_oc_pedant.rb
index 55a1f39..254b7be 100644
--- a/spec/run_oc_pedant.rb
+++ b/spec/run_oc_pedant.rb
@@ -31,6 +31,8 @@ def start_cheffs_server(chef_repo_path)
data_store = ChefZero::DataStore::V1ToV2Adapter.new(data_store, 'pedant-testorg')
data_store = ChefZero::DataStore::DefaultFacade.new(data_store, 'pedant-testorg', false)
data_store.create(%w(organizations pedant-testorg users), 'pivotal', '{}')
+ data_store.set(%w(organizations pedant-testorg groups admins), '{ "users": [ "pivotal" ] }')
+ data_store.set(%w(organizations pedant-testorg groups users), '{ "users": [ "pivotal" ] }')
server = ChefZero::Server.new(
port: 8889,