mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
join any extra args to the tmp path
This commit is contained in:
parent
c445f0d61f
commit
7b6efb9cda
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ module TestHelpers
|
|||
|
||||
def tmp_path(*args)
|
||||
@tmp_path ||= File.realpath(Dir.mktmpdir)
|
||||
File.join(@tmp_path, *args)
|
||||
end
|
||||
|
||||
def app_path(*args)
|
||||
|
|
Loading…
Reference in a new issue