1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2020-10-11 12:57:47 +00:00
parent 834bc11cc9
commit 531879d947

View File

@ -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