From f85401481bbd956fc811fbf127a81175403c1a30 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 6 Sep 2010 18:29:49 -0700 Subject: [PATCH] Create the tmp path when running tests so they pass --- test/support/path.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/support/path.rb b/test/support/path.rb index 495481e17..cb7c6f493 100644 --- a/test/support/path.rb +++ b/test/support/path.rb @@ -4,7 +4,9 @@ module VagrantTestHelpers module Path # Path to the tmp directory for the tests def tmp_path - Vagrant.source_root.join("test", "tmp") + result = Vagrant.source_root.join("test", "tmp") + FileUtils.mkdir_p(result) + result end # Path to the "home" directory for the tests