Fix tests
This commit is contained in:
parent
0e039159a6
commit
06dcd55f57
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue