]> source.dussan.org Git - redmine.git/commitdiff
detect strictly Chrome downloaded file
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 25 Sep 2019 13:24:20 +0000 (13:24 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 25 Sep 2019 13:24:20 +0000 (13:24 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18532 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/application_system_test_case.rb

index 44d2c83db4c97abc79fdc457a93b27e3fd72c5fe..a2f3cc2d379d3965e3a0d2707f3ce69f5f056671 100644 (file)
@@ -76,7 +76,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
         sleep 0.2
       end
     end
-    downloaded_files.first
+    downloaded_files(filename).first
   end
 end