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/boards_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/boards_controller_test.rb')
-rw-r--r-- | test/functional/boards_controller_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/boards_controller_test.rb b/test/functional/boards_controller_test.rb index a44612877..ee1533ba6 100644 --- a/test/functional/boards_controller_test.rb +++ b/test/functional/boards_controller_test.rb @@ -117,8 +117,8 @@ class BoardsControllerTest < ActionController::TestCase assert_select 'select[name=?]', 'board[parent_id]' do assert_select 'option', (Project.find(1).boards.size + 1) - assert_select 'option[value=]', :text => ' ' - assert_select 'option[value=1]', :text => 'Help' + assert_select 'option[value=""]', :text => ' ' + assert_select 'option[value="1"]', :text => 'Help' end end @@ -178,7 +178,7 @@ class BoardsControllerTest < ActionController::TestCase assert_template 'edit' assert_select 'select[name=?]', 'board[parent_id]' do - assert_select 'option[value=2][selected=selected]' + assert_select 'option[value="2"][selected=selected]' end end |