From 03da31f39d8781f777516d8c3401baeeb5cbd037 Mon Sep 17 00:00:00 2001 From: Thuy Le Date: Tue, 15 May 2018 15:44:16 +0200 Subject: [PATCH] Fix: Use https for nominatim in search controller test too --- spec/controllers/search_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/search_controller_spec.rb b/spec/controllers/search_controller_spec.rb index 962f293e0..b7982b96e 100644 --- a/spec/controllers/search_controller_spec.rb +++ b/spec/controllers/search_controller_spec.rb @@ -3,7 +3,7 @@ describe SearchController do before :each do - @search_api_url = 'http://nominatim.openstreetmap.org/search?q=Leipziger+Strasse%2C+Berlin&format=xml&limit=10&accept-language=de&dedupe=1&email=info%40wheelmap.org' + @search_api_url = 'https://nominatim.openstreetmap.org/search?q=Leipziger+Strasse%2C+Berlin&format=xml&limit=10&accept-language=de&dedupe=1&email=info%40wheelmap.org' stub_request(:get, @search_api_url) .to_return(status: 200, body: File.read("#{Rails.root}/spec/fixtures/search.xml"))