Skip to content

Commit

Permalink
Fix: Use https for nominatim in search controller test too
Browse files Browse the repository at this point in the history
  • Loading branch information
Thuy Le committed May 15, 2018
1 parent 6a1085a commit 03da31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/search_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 03da31f

Please sign in to comment.