Add a routing test for /id
This commit is contained in:
parent
6659fb9b33
commit
6e2c9ce258
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue