X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/e9aaa095a1136966a7fcca4877882736770ac119..763b868a267099cde66e875ed7d78e01f8bb0cac:/test/functional/quickvote_controller_test.rb?ds=sidebyside
diff --git a/test/functional/quickvote_controller_test.rb b/test/functional/quickvote_controller_test.rb
index 076a104..02c133e 100644
--- a/test/functional/quickvote_controller_test.rb
+++ b/test/functional/quickvote_controller_test.rb
@@ -115,4 +115,24 @@ class QuickvoteControllerTest < Test::Unit::TestCase
post :confirm, { 'ident' => 'variable', 'rankings-list' => votes.sort_by {rand} }
assert_redirected_to :controller => 'quickvote', :ident => 'variable'
end
+ def test_display_tainted_quickvote
+ test_create_quickvote
+ qv=QuickVote.ident_to_quickvote('variable')
+ qv.description=""
+ qv.candidatelist = ["