X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/90e46a58de583ac2bd7bb43077faa94186957a7a..491da055847c0b0184016606c93a65eeae38ce80:/test/functional/geocoder_controller_test.rb diff --git a/test/functional/geocoder_controller_test.rb b/test/functional/geocoder_controller_test.rb index e9d07b24e..b678125d2 100644 --- a/test/functional/geocoder_controller_test.rb +++ b/test/functional/geocoder_controller_test.rb @@ -6,7 +6,7 @@ class GeocoderControllerTest < ActionController::TestCase # test all routes which lead to this controller def test_routes assert_routing( - { :path => "/geocoder/search", :method => :get }, + { :path => "/geocoder/search", :method => :post }, { :controller => "geocoder", :action => "search" } ) assert_routing( @@ -39,7 +39,7 @@ class GeocoderControllerTest < ActionController::TestCase ) assert_routing( - { :path => "/geocoder/description", :method => :get }, + { :path => "/geocoder/description", :method => :post }, { :controller => "geocoder", :action => "description" } ) assert_routing(