git-svn-id: http://svn.redmine.org/redmine/trunk@20491 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.2.0
@@ -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 |