Commit ce8126ae authored by jplang's avatar jplang

Don't try to open tmp files.

git-svn-id: https://svn.redmine.org/redmine/trunk@16866 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent fed797f3
......@@ -61,7 +61,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
end
def downloaded_files
Dir.glob("#{DOWNLOADS_PATH}/*").reject {|f| f=~/crdownload$/}
Dir.glob("#{DOWNLOADS_PATH}/*").reject {|f| f=~/\.(tmp|crdownload)$/}
end
# Returns the path of the download file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment