X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..eaf4b32a7f6bf0cdc47dfc0c8b5ddb3358110ee4:/test/controllers/geocoder_controller_test.rb diff --git a/test/controllers/geocoder_controller_test.rb b/test/controllers/geocoder_controller_test.rb index 1d2eb87f5..7479b3e9d 100644 --- a/test/controllers/geocoder_controller_test.rb +++ b/test/controllers/geocoder_controller_test.rb @@ -241,7 +241,7 @@ class GeocoderControllerTest < ActionController::TestCase "12345", "12345-6789" ].each do |code| - post :search, query: code + post :search, :query => code assert_response :success assert_equal %w(us_postcode osm_nominatim), assigns(:sources) end