diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-20 19:38:40 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-20 19:38:40 +0000 |
commit | 2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f (patch) | |
tree | 908919107cfd6d6095f648dba895e476a512161a /test/functional/users_controller_test.rb | |
parent | a7559e669f4f131ccec74b585973492665a21daa (diff) | |
download | redmine-2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f.tar.gz redmine-2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f.zip |
Quote values in DOM selectors for Nokogiri compatibility.
git-svn-id: http://svn.redmine.org/redmine/trunk@13619 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/users_controller_test.rb')
-rw-r--r-- | test/functional/users_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index d9a46bd60..50334931b 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -64,7 +64,7 @@ class UsersControllerTest < ActionController::TestCase assert users.any? assert_equal([], (users - Group.find(10).users)) assert_select 'select[name=group_id]' do - assert_select 'option[value=10][selected=selected]' + assert_select 'option[value="10"][selected=selected]' end end @@ -263,7 +263,7 @@ class UsersControllerTest < ActionController::TestCase assert_template 'new' assert_select 'select#pref_time_zone option[selected=selected]', :text => /Paris/ - assert_select 'input#pref_no_self_notified[value=1][checked=checked]' + assert_select 'input#pref_no_self_notified[value="1"][checked=checked]' end def test_edit |