]> git.openstreetmap.org Git - rails.git/blobdiff - test/application_system_test_case.rb
Fix another hostip stub
[rails.git] / 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