mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user