From 0d2b35dbb41714b4bad89aae9fd7c978d04dc45c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 26 Dec 2011 11:48:06 +0000 Subject: [PATCH] test: route: add groups tests defined at r8162 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8380 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/routing/groups_test.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/integration/routing/groups_test.rb b/test/integration/routing/groups_test.rb index 16e8289f1..644b2e769 100644 --- a/test/integration/routing/groups_test.rb +++ b/test/integration/routing/groups_test.rb @@ -28,5 +28,13 @@ class RoutingGroupsTest < ActionController::IntegrationTest { :controller => 'groups', :action => 'remove_user', :id => '567', :user_id => '12' } ) + assert_routing( + { :method => 'post', :path => "/groups/destroy_membership/567" }, + { :controller => 'groups', :action => 'destroy_membership', :id => '567' } + ) + assert_routing( + { :method => 'post', :path => "/groups/edit_membership/567" }, + { :controller => 'groups', :action => 'edit_membership', :id => '567' } + ) end end