diff options
author | Go MAEDA <maeda@farend.jp> | 2021-04-04 05:03:49 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-04-04 05:03:49 +0000 |
commit | 4d29d86c3db9725b09962ed98de6c7f5f4e79d3a (patch) | |
tree | 659d79874f02d78e7e9404b842033267add91657 | |
parent | 1767be6b25acd1414a05fa0b2620289b3e8a88be (diff) | |
download | redmine-4d29d86c3db9725b09962ed98de6c7f5f4e79d3a.tar.gz redmine-4d29d86c3db9725b09962ed98de6c7f5f4e79d3a.zip |
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
-rw-r--r-- | test/application_system_test_case.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 1a572a07c..27567bb9c 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -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"] } |