mirror of
https://github.com/redmine/redmine.git
synced 2025-11-10 07:16:03 +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:
@@ -64,7 +64,7 @@ class UsersControllerTest < ActionController::TestCase
|
||||
assert users.any?
|
||||
assert_equal([], (users - Group.find(10).users))
|
||||
assert_select 'select[name=group_id]' do
|
||||
assert_select 'option[value=10][selected=selected]'
|
||||
assert_select 'option[value="10"][selected=selected]'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -263,7 +263,7 @@ class UsersControllerTest < ActionController::TestCase
|
||||
assert_template 'new'
|
||||
|
||||
assert_select 'select#pref_time_zone option[selected=selected]', :text => /Paris/
|
||||
assert_select 'input#pref_no_self_notified[value=1][checked=checked]'
|
||||
assert_select 'input#pref_no_self_notified[value="1"][checked=checked]'
|
||||
end
|
||||
|
||||
def test_edit
|
||||
|
||||
Reference in New Issue
Block a user