X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d62e8c43f3f404542dbdc310e31e4ed38cc2428b..90621b4b4f2b48a1dddde89bbaf748c3776e2020:/test/functional/site_controller_test.rb diff --git a/test/functional/site_controller_test.rb b/test/functional/site_controller_test.rb index 5fc3a0214..47bc27806 100644 --- a/test/functional/site_controller_test.rb +++ b/test/functional/site_controller_test.rb @@ -58,6 +58,10 @@ class SiteControllerTest < ActionController::TestCase { :path => "/preview/formatname", :method => :get }, { :controller => "site", :action => "preview", :format => "formatname" } ) + assert_routing( + { :path => "/id", :method => :get }, + { :controller => "site", :action => "id" } + ) end ## Lets check that we can get all the pages without any errors