summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-11-13 16:05:50 -0800
committerJohn Keiser <john@johnkeiser.com>2015-11-13 16:05:50 -0800
commit2d71904941dc80097f8d3ef59e6662a3edebcd93 (patch)
tree2cf73adb32721987a073fea17d3bcc98f4e09afb /spec
parent0638635dcd860b76169de2a4b333511ed4ef200c (diff)
downloadchef-zero-2d71904941dc80097f8d3ef59e6662a3edebcd93.tar.gz
Associate pivotal with the org before going in
Diffstat (limited to 'spec')
-rw-r--r--spec/run_oc_pedant.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/run_oc_pedant.rb b/spec/run_oc_pedant.rb
index 7960894..45a4499 100644
--- a/spec/run_oc_pedant.rb
+++ b/spec/run_oc_pedant.rb
@@ -30,6 +30,7 @@ def start_cheffs_server(chef_repo_path)
data_store = Chef::ChefFS::ChefFSDataStore.new(chef_fs)
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', '{}')
server = ChefZero::Server.new(
port: 8889,