diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-20 19:38:40 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-20 19:38:40 +0000 |
commit | 2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f (patch) | |
tree | 908919107cfd6d6095f648dba895e476a512161a /test/functional/principal_memberships_controller_test.rb | |
parent | a7559e669f4f131ccec74b585973492665a21daa (diff) | |
download | redmine-2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f.tar.gz redmine-2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f.zip |
Quote values in DOM selectors for Nokogiri compatibility.
git-svn-id: http://svn.redmine.org/redmine/trunk@13619 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/principal_memberships_controller_test.rb')
-rw-r--r-- | test/functional/principal_memberships_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/principal_memberships_controller_test.rb b/test/functional/principal_memberships_controller_test.rb index fe89c1153..7d15114b2 100644 --- a/test/functional/principal_memberships_controller_test.rb +++ b/test/functional/principal_memberships_controller_test.rb @@ -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 |