Whitespace fixes
This commit is contained in:
parent
0c00201a6b
commit
bfcc0d3939
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue