Create the tmp path when running tests so they pass
This commit is contained in:
parent
4342c87473
commit
f85401481b
|
@ -4,7 +4,9 @@ module VagrantTestHelpers
|
||||||
module Path
|
module Path
|
||||||
# Path to the tmp directory for the tests
|
# Path to the tmp directory for the tests
|
||||||
def tmp_path
|
def tmp_path
|
||||||
Vagrant.source_root.join("test", "tmp")
|
result = Vagrant.source_root.join("test", "tmp")
|
||||||
|
FileUtils.mkdir_p(result)
|
||||||
|
result
|
||||||
end
|
end
|
||||||
|
|
||||||
# Path to the "home" directory for the tests
|
# Path to the "home" directory for the tests
|
||||||
|
|
Loading…
Reference in New Issue