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/trackers_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/trackers_controller_test.rb')
-rw-r--r-- | test/functional/trackers_controller_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/trackers_controller_test.rb b/test/functional/trackers_controller_test.rb index 4e872926c..ca2619e1f 100644 --- a/test/functional/trackers_controller_test.rb +++ b/test/functional/trackers_controller_test.rb @@ -127,7 +127,7 @@ class TrackersControllerTest < ActionController::TestCase assert_select 'input[name=?][value=category_id]', 'tracker[core_fields][]' assert_select 'input[name=?][value=category_id][checked=checked]', 'tracker[core_fields][]', 0 - assert_select 'input[name=?][value=][type=hidden]', 'tracker[core_fields][]' + assert_select 'input[name=?][value=""][type=hidden]', 'tracker[core_fields][]' end def test_update @@ -187,10 +187,10 @@ class TrackersControllerTest < ActionController::TestCase assert_select 'form' do assert_select 'input[type=checkbox][name=?][value=assigned_to_id]', 'trackers[1][core_fields][]' - assert_select 'input[type=checkbox][name=?][value=2]', 'trackers[1][custom_field_ids][]' + assert_select 'input[type=checkbox][name=?][value="2"]', 'trackers[1][custom_field_ids][]' - assert_select 'input[type=hidden][name=?][value=]', 'trackers[1][core_fields][]' - assert_select 'input[type=hidden][name=?][value=]', 'trackers[1][custom_field_ids][]' + assert_select 'input[type=hidden][name=?][value=""]', 'trackers[1][core_fields][]' + assert_select 'input[type=hidden][name=?][value=""]', 'trackers[1][custom_field_ids][]' end end |