summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-07-17 22:17:07 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-07-23 19:21:24 -0600
commite004ff7164065d5d9d66ae0c230ce0821650e6dd (patch)
treea9f6dc39e8284f1e095b50bc017b835f43034615 /spec
parent08b2e660be71fb6a90a6638729f010429b8c3e98 (diff)
downloadchef-zero-e004ff7164065d5d9d66ae0c230ce0821650e6dd.tar.gz
Get ChefFS data store working with the new DefaultFacade
Diffstat (limited to 'spec')
-rw-r--r--spec/run.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/run.rb b/spec/run.rb
index bddf434..f2fdf0e 100644
--- a/spec/run.rb
+++ b/spec/run.rb
@@ -23,8 +23,8 @@ def start_local_server(chef_repo_path)
Chef::Config.versioned_cookbooks = true
chef_fs = Chef::ChefFS::Config.new.local_fs
data_store = Chef::ChefFS::ChefFSDataStore.new(chef_fs)
- data_store = ChefZero::DataStore::V1ToV2Adapter.new(data_store, 'chef')
- server = ChefZero::Server.new(:port => 8889, :data_store => data_store)#, :log_level => :debug)
+ server = ChefZero::Server.new(:port => 8889, :data_store => data_store)
+ ENV['SINGLE_ORG'] = 'true'
server.start_background
server
end