One extra smoke test

This commit is contained in:
Carlos Rodrigues 2016-07-28 01:09:14 +01:00
parent 211523d052
commit 1b0a28bd4a
1 changed files with 10 additions and 0 deletions

View File

@ -987,6 +987,16 @@ VF
end end
end end
end end
it "is set relative to the empty string when there is no valid work directory" do
Dir.mktmpdir("out-of-tree-directory") do |temp_dir|
with_temp_env("VAGRANT_DOTFILE_PATH" => ".vagrant-custom") do
instance = env.create_vagrant_env(cwd: temp_dir)
expect(instance.cwd.to_s).to eq(temp_dir)
expect(instance.local_data_path.to_s).to eq("")
end
end
end
end end
describe "upgrading V1 dotfiles" do describe "upgrading V1 dotfiles" do