diff --git a/test/unit/plugins/provisioners/chef/config/base_runner_test.rb b/test/unit/plugins/provisioners/chef/config/base_runner_test.rb index 3ef7e2fab..8bc6c6402 100644 --- a/test/unit/plugins/provisioners/chef/config/base_runner_test.rb +++ b/test/unit/plugins/provisioners/chef/config/base_runner_test.rb @@ -121,23 +121,23 @@ describe VagrantPlugins::Chef::Config::BaseRunner do end describe "#provisioning_path" do - it "defaults to a tmp_path" do + it "defaults to nil" do subject.finalize! - expect(subject.provisioning_path).to eq("/tmp/vagrant-chef") + expect(subject.provisioning_path).to be(nil) end end describe "#file_backup_path" do - it "defaults to /var/chef/backup" do + it "defaults to nil" do subject.finalize! - expect(subject.file_backup_path).to eq("/var/chef/backup") + expect(subject.file_backup_path).to be(nil) end end describe "#file_cache_path" do - it "defaults to /var/chef/cache" do + it "defaults to nil" do subject.finalize! - expect(subject.file_cache_path).to eq("/var/chef/cache") + expect(subject.file_cache_path).to be(nil) end end diff --git a/test/unit/plugins/provisioners/chef/config/chef_client_test.rb b/test/unit/plugins/provisioners/chef/config/chef_client_test.rb index 17f2dc321..25034d019 100644 --- a/test/unit/plugins/provisioners/chef/config/chef_client_test.rb +++ b/test/unit/plugins/provisioners/chef/config/chef_client_test.rb @@ -17,9 +17,9 @@ describe VagrantPlugins::Chef::Config::ChefClient do end describe "#client_key_path" do - it "defaults to /etc/chef/client.pem" do + it "defaults to nil" do subject.finalize! - expect(subject.client_key_path).to eq("/etc/chef/client.pem") + expect(subject.client_key_path).to be(nil) end end