Add some missing route tests for the site controller
This commit is contained in:
parent
3426976606
commit
bb2c5677df
1 changed files with 12 additions and 0 deletions
|
@ -54,6 +54,18 @@ class SiteControllerTest < ActionController::TestCase
|
|||
{ :path => "/fixthemap", :method => :get },
|
||||
{ :controller => "site", :action => "fixthemap" }
|
||||
)
|
||||
assert_routing(
|
||||
{ :path => "/help", :method => :get },
|
||||
{ :controller => "site", :action => "help" }
|
||||
)
|
||||
assert_routing(
|
||||
{ :path => "/about", :method => :get },
|
||||
{ :controller => "site", :action => "about" }
|
||||
)
|
||||
assert_routing(
|
||||
{ :path => "/about/locale", :method => :get },
|
||||
{ :controller => "site", :action => "about", :about_locale => "locale" }
|
||||
)
|
||||
assert_routing(
|
||||
{ :path => "/export", :method => :get },
|
||||
{ :controller => "site", :action => "export" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue