Export test no longer actually hits the filesystem
This commit is contained in:
parent
f1fc07e353
commit
815b253b7e
|
@ -24,6 +24,7 @@ class ExportActionTest < Test::Unit::TestCase
|
||||||
Vagrant::Env.stubs(:tmp_path).returns(@tmp_path)
|
Vagrant::Env.stubs(:tmp_path).returns(@tmp_path)
|
||||||
|
|
||||||
@temp_dir = File.join(Vagrant::Env.tmp_path, @time_now)
|
@temp_dir = File.join(Vagrant::Env.tmp_path, @time_now)
|
||||||
|
FileUtils.stubs(:mkpath)
|
||||||
end
|
end
|
||||||
|
|
||||||
should "create the temporary directory using the current time" do
|
should "create the temporary directory using the current time" do
|
||||||
|
|
Loading…
Reference in New Issue