From ad94777d9c2475ccbc9b933302b2fd427e944d87 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 12 Oct 2012 17:22:52 +0000 Subject: Expose roles details via REST API (#11502). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10620 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/routing/roles_test.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/integration/routing') diff --git a/test/integration/routing/roles_test.rb b/test/integration/routing/roles_test.rb index 0ec486a07..401ab0d48 100644 --- a/test/integration/routing/roles_test.rb +++ b/test/integration/routing/roles_test.rb @@ -27,6 +27,10 @@ class RoutingRolesTest < ActionController::IntegrationTest { :method => 'get', :path => "/roles.xml" }, { :controller => 'roles', :action => 'index', :format => 'xml' } ) + assert_routing( + { :method => 'get', :path => "/roles/2.xml" }, + { :controller => 'roles', :action => 'show', :id => '2', :format => 'xml' } + ) assert_routing( { :method => 'get', :path => "/roles/new" }, { :controller => 'roles', :action => 'new' } -- cgit v1.2.3