From f8379e406f3a301b384560268e23da92ff6d95be Mon Sep 17 00:00:00 2001
From: Toshi MARUYAMA <marutosijp2@yahoo.co.jp>
Date: Wed, 25 Sep 2019 13:24:20 +0000
Subject: detect strictly Chrome downloaded file

git-svn-id: http://svn.redmine.org/redmine/trunk@18532 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 test/application_system_test_case.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb
index 44d2c83db..a2f3cc2d3 100644
--- a/test/application_system_test_case.rb
+++ b/test/application_system_test_case.rb
@@ -76,7 +76,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
         sleep 0.2
       end
     end
-    downloaded_files.first
+    downloaded_files(filename).first
   end
 end
 
-- 
cgit v1.2.3