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/queries_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/queries_controller_test.rb')
-rw-r--r-- | test/functional/queries_controller_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb index 8f1b61be6..337478de6 100644 --- a/test/functional/queries_controller_test.rb +++ b/test/functional/queries_controller_test.rb @@ -35,7 +35,7 @@ class QueriesControllerTest < ActionController::TestCase get :new, :project_id => 1 assert_response :success assert_template 'new' - assert_select 'input[name=?][value=0][checked=checked]', 'query[visibility]' + assert_select 'input[name=?][value="0"][checked=checked]', 'query[visibility]' assert_tag :tag => 'input', :attributes => { :type => 'checkbox', :name => 'query_is_for_all', :checked => nil, @@ -197,7 +197,7 @@ class QueriesControllerTest < ActionController::TestCase get :edit, :id => 4 assert_response :success assert_template 'edit' - assert_select 'input[name=?][value=2][checked=checked]', 'query[visibility]' + assert_select 'input[name=?][value="2"][checked=checked]', 'query[visibility]' assert_tag :tag => 'input', :attributes => { :type => 'checkbox', :name => 'query_is_for_all', :checked => 'checked', @@ -233,7 +233,7 @@ class QueriesControllerTest < ActionController::TestCase get :edit, :id => 1 assert_response :success assert_template 'edit' - assert_select 'input[name=?][value=2][checked=checked]', 'query[visibility]' + assert_select 'input[name=?][value="2"][checked=checked]', 'query[visibility]' assert_tag :tag => 'input', :attributes => { :type => 'checkbox', :name => 'query_is_for_all', :checked => nil, |