From: Tom Hughes Date: Mon, 9 Jul 2018 19:36:41 +0000 (+0100) Subject: Fix another hostip stub X-Git-Tag: live~2922 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/53eadb36fcec6c0d07ba550a2f72c4d3932ffead Fix another hostip stub --- diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index f39fc8d1d..5b66f580e 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -16,7 +16,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase driven_by :poltergeist, :screen_size => [1400, 1400] def initialize(*args) - stub_request(:get, "http://api.hostip.info/country.php?ip=127.0.0.1") + stub_request(:get, "https://api.hostip.info/country.php?ip=127.0.0.1") .to_return(:status => 404) super(*args) end