summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/run.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/run.rb b/spec/run.rb
index 768e0a0..7c25eb7 100644
--- a/spec/run.rb
+++ b/spec/run.rb
@@ -20,6 +20,7 @@ def start_server(chef_repo_path)
# Start the new server
Chef::Config.repo_mode = 'everything'
Chef::Config.chef_repo_path = chef_repo_path
+ Chef::Config.versioned_cookbooks = true
chef_fs = Chef::ChefFS::Config.new.local_fs
data_store = Chef::ChefFS::ChefFSDataStore.new(chef_fs)
server = ChefZero::Server.new(:port => 8889, :data_store => data_store)#, :log_level => :debug)