From 531879d94782af2c250642bf81af3d235210b4e4 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 11 Oct 2020 12:57:47 +0000 Subject: [PATCH] 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 --- test/application_system_test_case.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5