diff options
-rw-r--r-- | Gemfile | 4 | ||||
-rw-r--r-- | spec/run_oc_pedant.rb | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -5,10 +5,10 @@ gem 'rest-client', :github => 'chef/rest-client' # we were using e9bf7fe4440afd34856401831b30636100be958b, but now float on latest release. # gem 'oc-chef-pedant', :github => 'chef/chef-server' -gem 'oc-chef-pedant', :path => "#{ENV['HOME']}/repos/chef-server" +gem 'oc-chef-pedant', :path => "../chef-server" # bundler resolve failure on "rspec_junit_formatter" # gem 'chef-pedant', :github => 'opscode/chef-pedant', :ref => "server-cli-option" # gem 'chef', :github => 'chef/chef' -gem 'chef', :path => "#{ENV['HOME']}/repos/chef" +gem 'chef', :path => "../chef" 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, |