mirror of
https://github.com/redmine/redmine.git
synced 2025-11-05 04:45:57 +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:
@@ -28,7 +28,7 @@ class PrincipalMembershipsControllerTest < ActionController::TestCase
|
||||
get :new, :user_id => 7
|
||||
assert_response :success
|
||||
assert_select 'label', :text => 'eCookbook' do
|
||||
assert_select 'input[name=?][value=1]:not([disabled])', 'membership[project_ids][]'
|
||||
assert_select 'input[name=?][value="1"]:not([disabled])', 'membership[project_ids][]'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -38,7 +38,7 @@ class PrincipalMembershipsControllerTest < ActionController::TestCase
|
||||
get :new, :user_id => 7
|
||||
assert_response :success
|
||||
assert_select 'label', :text => 'eCookbook' do
|
||||
assert_select 'input[name=?][value=1][disabled=disabled]', 'membership[project_ids][]'
|
||||
assert_select 'input[name=?][value="1"][disabled=disabled]', 'membership[project_ids][]'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user