1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

System test fails in Windows due to "/" path separator (#35024).

Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20915 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2021-04-04 05:03:49 +00:00
parent 1767be6b25
commit 4d29d86c3d

View File

@ -38,7 +38,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
'goog:chromeOptions' => {
'args' => GOOGLE_CHROME_OPTS_ARGS,
'prefs' => {
'download.default_directory' => DOWNLOADS_PATH,
'download.default_directory' => DOWNLOADS_PATH.gsub(File::SEPARATOR, File::ALT_SEPARATOR || File::SEPARATOR),
'download.prompt_for_download' => false,
'plugins.plugins_disabled' => ["Chrome PDF Viewer"]
}