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/settings_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/settings_controller_test.rb')
-rw-r--r-- | test/functional/settings_controller_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb index 6806fd215..e7fe29780 100644 --- a/test/functional/settings_controller_test.rb +++ b/test/functional/settings_controller_test.rb @@ -93,19 +93,19 @@ class SettingsControllerTest < ActionController::TestCase assert_select 'tr.commit-keywords:nth-child(1)' do assert_select 'input[name=?][value=?]', 'settings[commit_update_keywords][keywords][]', 'fixes, resolves' assert_select 'select[name=?]', 'settings[commit_update_keywords][status_id][]' do - assert_select 'option[value=3][selected=selected]' + assert_select 'option[value="3"][selected=selected]' end end assert_select 'tr.commit-keywords:nth-child(2)' do assert_select 'input[name=?][value=?]', 'settings[commit_update_keywords][keywords][]', 'closes' assert_select 'select[name=?]', 'settings[commit_update_keywords][status_id][]' do - assert_select 'option[value=5][selected=selected]', :text => 'Closed' + assert_select 'option[value="5"][selected=selected]', :text => 'Closed' end assert_select 'select[name=?]', 'settings[commit_update_keywords][done_ratio][]' do - assert_select 'option[value=100][selected=selected]', :text => '100 %' + assert_select 'option[value="100"][selected=selected]', :text => '100 %' end assert_select 'select[name=?]', 'settings[commit_update_keywords][if_tracker_id][]' do - assert_select 'option[value=2][selected=selected]', :text => 'Feature request' + assert_select 'option[value="2"][selected=selected]', :text => 'Feature request' end end end |