From: Tom Hughes Date: Tue, 7 May 2013 13:52:08 +0000 (+0100) Subject: Add a routing test for /id X-Git-Tag: live~5059 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/6e2c9ce25802db2e740c72ade9ecbe191a966b32 Add a routing test for /id --- 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