[drupal:dries] /modules/poll poll.test
drupal-cvs at drupal.org
drupal-cvs at drupal.org
Mon Jun 1 11:18:37 UTC 2009
User: dries Branch: HEAD Date: Mon, 01 Jun 2009 11:18:37 +0000
Modified files:
/modules/poll poll.test
Log message:
- Patch #474308 by stella: new tests for poll module. New tests:
* that the Recent Poll block outputs the block layout rather than page layout.
* that users can vote on polls via the block
* that the 'older polls' link in the recent poll block works.
* that node is output correctly, including 'Cancel your vote' button appearing
* that only users with appropriate permission can cancel their votes
* that the 'poll' page contains the correct data.
* that polls can be edited
* the opening / closing of polls - ensuring block doesn't appear when poll is closed, and neither do the 'Vote' / 'Cancel your vote' buttons, and that the poll status is updated correctly on 'poll' page.
Links:
http://cvs.drupal.org/diff.php?path=drupal/modules/poll/poll.test&old=1.17&new=1.18&root=contrib
More information about the drupal-cvs
mailing list