@@ -28,5 +28,13 class RoutingGroupsTest < ActionController::IntegrationTest | |||
|
28 | 28 | { :controller => 'groups', :action => 'remove_user', :id => '567', |
|
29 | 29 | :user_id => '12' } |
|
30 | 30 | ) |
|
31 | assert_routing( | |
|
32 | { :method => 'post', :path => "/groups/destroy_membership/567" }, | |
|
33 | { :controller => 'groups', :action => 'destroy_membership', :id => '567' } | |
|
34 | ) | |
|
35 | assert_routing( | |
|
36 | { :method => 'post', :path => "/groups/edit_membership/567" }, | |
|
37 | { :controller => 'groups', :action => 'edit_membership', :id => '567' } | |
|
38 | ) | |
|
31 | 39 | end |
|
32 | 40 | end |
General Comments 0
You need to be logged in to leave comments.
Login now