From: Toshi MARUYAMA Date: Sun, 11 Oct 2020 12:57:47 +0000 (+0000) Subject: fix source indent of test/application_system_test_case.rb X-Git-Tag: 4.2.0~674 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=531879d94782af2c250642bf81af3d235210b4e4;p=redmine.git fix source indent of test/application_system_test_case.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20143 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index f529f07e6..17d2c57b5 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -22,7 +22,9 @@ require File.expand_path('../test_helper', __FILE__) class ApplicationSystemTestCase < ActionDispatch::SystemTestCase DOWNLOADS_PATH = File.expand_path(File.join(Rails.root, 'tmp', 'downloads')) - driven_by :selenium, using: :chrome, screen_size: [1024, 900], options: { + driven_by( + :selenium, using: :chrome, screen_size: [1024, 900], + options: { desired_capabilities: Selenium::WebDriver::Remote::Capabilities.chrome( 'chromeOptions' => { 'prefs' => { @@ -33,6 +35,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase } ) } + ) setup do clear_downloaded_files