Fix another hostip stub
authorTom Hughes <tom@compton.nu>
Mon, 9 Jul 2018 19:36:41 +0000 (20:36 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 9 Jul 2018 19:36:41 +0000 (20:36 +0100)
test/application_system_test_case.rb

index f39fc8d..5b66f58 100644 (file)
@@ -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