From eac29ed6cc33acbec509a147a240a9ca1a078cc3 Mon Sep 17 00:00:00 2001 From: John Keiser Date: Mon, 16 Nov 2015 11:09:22 -0800 Subject: Add pivotal to admins and users group of new org --- spec/run_oc_pedant.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec') 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, -- cgit v1.2.1