Merged r9417 from trunk (#10664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9455 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -25,6 +25,12 @@ class RoutingMyTest < ActionController::IntegrationTest
|
||||
{ :controller => 'my', :action => 'account' }
|
||||
)
|
||||
end
|
||||
["get", "post"].each do |method|
|
||||
assert_routing(
|
||||
{ :method => method, :path => "/my/account/destroy" },
|
||||
{ :controller => 'my', :action => 'destroy' }
|
||||
)
|
||||
end
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/my/page" },
|
||||
{ :controller => 'my', :action => 'page' }
|
||||
|
||||
Reference in New Issue
Block a user