mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Removes unecessary CAPYBARA_APP_HOST specification
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user