Quote values in DOM selectors for Nokogiri compatibility.

git-svn-id: http://svn.redmine.org/redmine/trunk@13619 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2014-11-20 19:38:40 +00:00
parent a7559e669f
commit 2a43f1adbc
23 changed files with 128 additions and 128 deletions

View File

@@ -103,9 +103,9 @@ class ProjectsControllerTest < ActionController::TestCase
assert_select 'select[name=?]', 'project[parent_id]' do
# parent project selected
assert_select 'option[value=1][selected=selected]'
assert_select 'option[value="1"][selected=selected]'
# no empty value
assert_select 'option[value=]', 0
assert_select 'option[value=""]', 0
end
end