Skip to content
Permalink
Browse files

test for #250

Signed-off-by: mark_story <mark@mark-story.com>
  • Loading branch information...
evilbloodydemon authored and markstory committed Sep 29, 2010
1 parent 29d1314 commit 8d2d83c594344fc727a69cb9f114f2b80b3d239d
Showing with 11 additions and 0 deletions.
  1. +11 −0 cake/tests/cases/libs/model/model_delete.test.php
@@ -663,6 +663,17 @@ function testBeforeDeleteWipingTable() {
$this->assertTrue($result > 1, 'Comments are all gone.');
}
function testBeforeDeleteWipingTable2() {
$this->loadFixtures('Comment');
$Comment =& new BeforeDeleteComment();
$Comment->delete(1);
$result = $Comment->find('count');
$this->assertTrue($result > 1, 'Comments are all gone.');
}
}
?>

0 comments on commit 8d2d83c

Please sign in to comment.
You can’t perform that action at this time.