mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Don't try to open tmp files.
git-svn-id: http://svn.redmine.org/redmine/trunk@16866 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8a1e09d17b
commit
46dd7a9ac0
@ -61,7 +61,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def downloaded_files
|
def downloaded_files
|
||||||
Dir.glob("#{DOWNLOADS_PATH}/*").reject {|f| f=~/crdownload$/}
|
Dir.glob("#{DOWNLOADS_PATH}/*").reject {|f| f=~/\.(tmp|crdownload)$/}
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the path of the download file
|
# Returns the path of the download file
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user