mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 17:54:48 +02:00
test: route: add members tests defined at r8162
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8376 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f581ea0aa6
commit
748410c876
@ -23,5 +23,17 @@ class RoutingMembersTest < ActionController::IntegrationTest
|
||||
{ :method => 'post', :path => "/projects/5234/members/new" },
|
||||
{ :controller => 'members', :action => 'new', :id => '5234' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'post', :path => "/members/edit/5234" },
|
||||
{ :controller => 'members', :action => 'edit', :id => '5234' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'post', :path => "/members/destroy/5234" },
|
||||
{ :controller => 'members', :action => 'destroy', :id => '5234' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'post', :path => "/members/autocomplete_for_member/5234" },
|
||||
{ :controller => 'members', :action => 'autocomplete_for_member', :id => '5234' }
|
||||
)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user