X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/05aa7f377e15b809d7b73e0bfb5d9d3849b5458f..21855aa355ed66bea0ae21acb3d675aeaccc963b:/test/functional/site_controller_test.rb diff --git a/test/functional/site_controller_test.rb b/test/functional/site_controller_test.rb index caef3481b..3f9e2a145 100644 --- a/test/functional/site_controller_test.rb +++ b/test/functional/site_controller_test.rb @@ -10,6 +10,10 @@ class SiteControllerTest < ActionController::TestCase { :path => "/", :method => :get }, { :controller => "site", :action => "index" } ) + assert_routing( + { :path => "/", :method => :post }, + { :controller => "site", :action => "index" } + ) assert_recognizes( { :controller => "site", :action => "index" }, { :path => "/index.html", :method => :get }