diff --git a/spec/system/consumer/map_spec.rb b/spec/system/consumer/map_spec.rb index 7cafdbeda6d..4bc8088e1ac 100644 --- a/spec/system/consumer/map_spec.rb +++ b/spec/system/consumer/map_spec.rb @@ -3,19 +3,6 @@ require 'system_helper' RSpec.describe 'Map' do - context 'map can load' do - it 'does not show alert' do - url_whitelist = page.driver.browser.url_whitelist - page.driver.browser.url_whitelist = nil - - assert_raises(Capybara::ModalNotFound) do - accept_alert { visit '/map' } - end - - page.driver.browser.url_whitelist = url_whitelist - end - end - context 'map cannot load' do it 'shows alert' do message = accept_alert { visit '/map' }