From 53eadb36fcec6c0d07ba550a2f72c4d3932ffead Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 9 Jul 2018 20:36:41 +0100 Subject: [PATCH] Fix another hostip stub --- test/application_system_test_case.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2