]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/geocoder_controller_test.rb
Rework OpenID tests for new flows using OmniAuth mocking
[rails.git] / test / controllers / geocoder_controller_test.rb
index 1d2eb87f531a0aba1063035a6848fc4e7e4ca81b..7479b3e9d1cd63802f2a5e5835101aa3dab80746 100644 (file)
@@ -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