summaryrefslogtreecommitdiffstats
path: root/test/functional/queries_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-25 16:50:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-25 16:50:25 +0000
commit472d3a00a314083e8fb085d414aac4e62d24eaff (patch)
tree6d2eca19b233852a34d6569977d39998c494c4dc /test/functional/queries_controller_test.rb
parent235238b5834da03dc11d511d7e57c79510a9d5da (diff)
downloadredmine-472d3a00a314083e8fb085d414aac4e62d24eaff.tar.gz
redmine-472d3a00a314083e8fb085d414aac4e62d24eaff.zip
Fixed that some input fields are escaped on validation failures (#11027).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9711 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/queries_controller_test.rb')
-rw-r--r--test/functional/queries_controller_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb
index 7cd823e6f..5ffc31f8a 100644
--- a/test/functional/queries_controller_test.rb
+++ b/test/functional/queries_controller_test.rb
@@ -149,6 +149,7 @@ class QueriesControllerTest < ActionController::TestCase
end
assert_response :success
assert_template 'new'
+ assert_select 'input[name=?]', 'query[name]'
end
def test_edit_global_public_query