summaryrefslogtreecommitdiffstats
path: root/test/functional/projects_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-20 19:38:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-20 19:38:40 +0000
commit2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f (patch)
tree908919107cfd6d6095f648dba895e476a512161a /test/functional/projects_controller_test.rb
parenta7559e669f4f131ccec74b585973492665a21daa (diff)
downloadredmine-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/projects_controller_test.rb')
-rw-r--r--test/functional/projects_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index be6e738ea..60bc580d3 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -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