summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-13 08:38:35 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-13 08:38:35 +0000
commitdc7569ecaef63a8b31d8695d3bdad9741161ae32 (patch)
tree193edd0a3b016c3a31f4f39881a03053ffe48eb5 /test
parent7c9783200286740bc9e9ac3d3c227e0b26ccdb17 (diff)
downloadredmine-dc7569ecaef63a8b31d8695d3bdad9741161ae32.tar.gz
redmine-dc7569ecaef63a8b31d8695d3bdad9741161ae32.zip
Fixed that group filter is escaped on users index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9679 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/users_controller_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb
index f92bd44f0..0faaf03ae 100644
--- a/test/functional/users_controller_test.rb
+++ b/test/functional/users_controller_test.rb
@@ -74,6 +74,9 @@ class UsersControllerTest < ActionController::TestCase
users = assigns(:users)
assert users.any?
assert_equal([], (users - Group.find(10).users))
+ assert_select 'select[name=group_id]' do
+ assert_select 'option[value=10][selected=selected]'
+ end
end
def test_show