1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

Fix RuboCop Style/MultilineIfModifier due to r20428 (#34269).

git-svn-id: http://svn.redmine.org/redmine/trunk@20491 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2020-11-23 00:58:23 +00:00
parent 3896694b5f
commit 00c751a1a6

View File

@ -46,9 +46,11 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
setup do setup do
# Allow defining a custom app host (useful when using a remote Selenium hub) # Allow defining a custom app host (useful when using a remote Selenium hub)
if ENV['CAPYBARA_APP_HOST']
Capybara.configure do |config| Capybara.configure do |config|
config.app_host = ENV['CAPYBARA_APP_HOST'] config.app_host = ENV['CAPYBARA_APP_HOST']
end if ENV['CAPYBARA_APP_HOST'] end
end
clear_downloaded_files clear_downloaded_files
Setting.delete_all Setting.delete_all