From ecbab52f066407eabe74af534fd1c78b37eb2425 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 21 Jul 2021 15:59:08 +0100 Subject: [PATCH] Removes unecessary CAPYBARA_APP_HOST specification --- spec/system/support/better_rails_system_tests.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/spec/system/support/better_rails_system_tests.rb b/spec/system/support/better_rails_system_tests.rb index 2b5828f778..7b4ed4be25 100644 --- a/spec/system/support/better_rails_system_tests.rb +++ b/spec/system/support/better_rails_system_tests.rb @@ -36,10 +36,7 @@ RSpec.configure do |config| # Make sure this hook runs before others config.prepend_before(:each, type: :system) do - # Rails sets host to `127.0.0.1` for every test by default. - # That won't work with a remote browser. - host! CAPYBARA_APP_HOST - # Use JS driver always - driven_by Capybara.javascript_driver + # Use JS driver always + driven_by Capybara.javascript_driver end end