Adds pagination to users list when adding project or group members (#9549).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11200 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2013-01-18 17:57:16 +00:00
parent 10c96dba8b
commit 1257f1960f
17 changed files with 58 additions and 30 deletions
+4
View File
@@ -47,6 +47,10 @@ class RoutingGroupsTest < ActionController::IntegrationTest
{ :method => 'get', :path => "/groups/1/autocomplete_for_user" },
{ :controller => 'groups', :action => 'autocomplete_for_user', :id => '1' }
)
assert_routing(
{ :method => 'get', :path => "/groups/1/autocomplete_for_user.js" },
{ :controller => 'groups', :action => 'autocomplete_for_user', :id => '1', :format => 'js' }
)
assert_routing(
{ :method => 'get', :path => "/groups/1" },
{ :controller => 'groups', :action => 'show', :id => '1' }
+4
View File
@@ -55,5 +55,9 @@ class RoutingMembersTest < ActionController::IntegrationTest
{ :method => 'get', :path => "/projects/5234/memberships/autocomplete" },
{ :controller => 'members', :action => 'autocomplete', :project_id => '5234' }
)
assert_routing(
{ :method => 'get', :path => "/projects/5234/memberships/autocomplete.js" },
{ :controller => 'members', :action => 'autocomplete', :project_id => '5234', :format => 'js' }
)
end
end