summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook/synchronizer_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/cookbook/synchronizer_spec.rb')
-rw-r--r--spec/unit/cookbook/synchronizer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/cookbook/synchronizer_spec.rb b/spec/unit/cookbook/synchronizer_spec.rb
index 97e7569cf4..3f5624f3b0 100644
--- a/spec/unit/cookbook/synchronizer_spec.rb
+++ b/spec/unit/cookbook/synchronizer_spec.rb
@@ -50,7 +50,7 @@ describe Chef::CookbookCacheCleaner do
end
it "does not remove anything on chef-solo" do
- Chef::Config[:solo] = true
+ Chef::Config[:solo_legacy_mode] = true
allow(cleaner.cache).to receive(:find).and_return(%w{cookbooks/valid1/recipes/default.rb cookbooks/valid2/recipes/default.rb})
expect(cleaner.cache).not_to receive(:delete)
cleaner.cleanup_file_cache