From dc7569ecaef63a8b31d8695d3bdad9741161ae32 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 13 May 2012 08:38:35 +0000 Subject: 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 --- test/functional/users_controller_test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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 -- cgit v1.2.3