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:
@@ -104,11 +104,8 @@ class MembersControllerTest < ActionController::TestCase
|
||||
end
|
||||
|
||||
def test_autocomplete
|
||||
get :autocomplete, :project_id => 1, :q => 'mis'
|
||||
get :autocomplete, :project_id => 1, :q => 'mis', :format => 'js'
|
||||
assert_response :success
|
||||
assert_template 'autocomplete'
|
||||
|
||||
assert_tag :label, :content => /User Misc/,
|
||||
:child => { :tag => 'input', :attributes => { :name => 'membership[user_ids][]', :value => '8' } }
|
||||
assert_include 'User Misc', response.body
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user