Whitespace fixes

This commit is contained in:
Mitchell Hashimoto 2010-03-22 00:09:30 -07:00
parent 0c00201a6b
commit bfcc0d3939
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ module Vagrant
end
end
def file_temp_path
def file_temp_path
File.join(@runner.env.tmp_path, BASENAME + Time.now.to_i.to_s)
end

View File

@ -81,9 +81,9 @@ class DownloadBoxActionTest < Test::Unit::TestCase
context "tempfile" do
should "create a tempfile in the vagrant tmp directory" do
File.expects(:open).with { |name, bitmask|
File.expects(:open).with { |name, bitmask|
name =~ /#{Vagrant::Actions::Box::Download::BASENAME}/ && name =~ /#{@runner.env.tmp_path}/
}.once
}.once
@action.with_tempfile
end