]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/geocoder_controller_test.rb
Add functional tests for user blocks
[rails.git] / test / functional / geocoder_controller_test.rb
index e9d07b24ed02972f8e4ca0323827cf4633218c99..b678125d2e4af3bb80be94e0dfc973b713a305be 100644 (file)
@@ -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(