Browse Source

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


git-svn-id: http://svn.redmine.org/redmine/trunk@20491 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Go MAEDA 3 years ago
parent
commit
00c751a1a6
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      test/application_system_test_case.rb

+ 5
- 3
test/application_system_test_case.rb View File

@@ -46,9 +46,11 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase

setup do
# Allow defining a custom app host (useful when using a remote Selenium hub)
Capybara.configure do |config|
config.app_host = ENV['CAPYBARA_APP_HOST']
end if ENV['CAPYBARA_APP_HOST']
if ENV['CAPYBARA_APP_HOST']
Capybara.configure do |config|
config.app_host = ENV['CAPYBARA_APP_HOST']
end
end

clear_downloaded_files
Setting.delete_all

Loading…
Cancel
Save