summaryrefslogtreecommitdiffstats
path: root/test/functional/users_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/users_controller_test.rb')
-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