test blank lines

This commit is contained in:
Shish 2009-09-20 03:47:04 +01:00
parent 3a9b82ab1e
commit 0f0bf5ff69

View file

@ -21,7 +21,7 @@ class BanWordsTest extends ShimmieWebTestCase {
$this->assert_title("Comment Blocked"); $this->assert_title("Comment Blocked");
$this->get_page("post/view/$image_id"); $this->get_page("post/view/$image_id");
$this->set_field('comment', "kittens and viagra!"); $this->set_field('comment', "kittens\n\n\n\nand viagra!");
$this->click("Post Comment"); $this->click("Post Comment");
$this->assert_title("Comment Blocked"); $this->assert_title("Comment Blocked");