Fix tests

This commit is contained in:
Seth Vargo 2015-07-09 16:59:17 -06:00
parent 0e039159a6
commit 06dcd55f57
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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