summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-08-19 23:53:36 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-08-22 09:20:49 -0700
commit0bccfd74679ae382d04e319972353f9a692bbf30 (patch)
tree35c0b14677bc4ae9dd9974b08721caf711b70659 /spec
parent91768b0e9a0a151635a0a7a96823113b200c67c6 (diff)
downloadchef-zero-0bccfd74679ae382d04e319972353f9a692bbf30.tar.gz
Move all defaults to DefaultCreator, calculate on fly,
remember ownership
Diffstat (limited to 'spec')
-rw-r--r--spec/run_oc_pedant.rb2
-rw-r--r--spec/run_pedant.rb2
-rw-r--r--spec/support/oc_pedant.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/run_oc_pedant.rb b/spec/run_oc_pedant.rb
index 71a1f4f..c0cc01e 100644
--- a/spec/run_oc_pedant.rb
+++ b/spec/run_oc_pedant.rb
@@ -13,7 +13,7 @@ begin
require 'chef_zero/data_store/raw_file_store'
tmpdir = Dir.mktmpdir
data_store = ChefZero::DataStore::RawFileStore.new(tmpdir, true)
- data_store = ChefZero::DataStore::DefaultFacade.new(data_store, false)
+ data_store = ChefZero::DataStore::DefaultFacade.new(data_store, false, false)
server = ChefZero::Server.new(:port => 8889, :single_org => false, :data_store => data_store)
server.start_background
diff --git a/spec/run_pedant.rb b/spec/run_pedant.rb
index f2fdf0e..3657da8 100644
--- a/spec/run_pedant.rb
+++ b/spec/run_pedant.rb
@@ -54,7 +54,7 @@ begin
require 'chef_zero/data_store/raw_file_store'
tmpdir = Dir.mktmpdir
data_store = ChefZero::DataStore::RawFileStore.new(tmpdir, true)
- data_store = ChefZero::DataStore::DefaultFacade.new(data_store, true)
+ data_store = ChefZero::DataStore::DefaultFacade.new(data_store, true, false)
server = ChefZero::Server.new(:port => 8889, :single_org => 'chef', :data_store => data_store)
server.start_background
diff --git a/spec/support/oc_pedant.rb b/spec/support/oc_pedant.rb
index 2b5a5ff..e40a710 100644
--- a/spec/support/oc_pedant.rb
+++ b/spec/support/oc_pedant.rb
@@ -73,7 +73,7 @@ delete_org true
# which should be the fully-qualified path /on the machine Pedant is
# running on/ to a private key for that user.
key = 'spec/support/stickywicket.pem'
-superuser_name 'admin'
+superuser_name 'pivotal'
superuser_key key
webui_key key