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

@@ -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