X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/90e46a58de583ac2bd7bb43077faa94186957a7a..ec6f14df0ce68192b9815a3895d1cc2737f23b6b:/test/functional/geocoder_controller_test.rb?ds=sidebyside 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(