]> git.openstreetmap.org Git - rails.git/commitdiff
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 f39fc8d1d4e05b19e609297d3888af1208d91154..5b66f580ef800bd47d385ced1f1007d1653745cc 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