Permalink
Browse files

Adding test for previous commit.

  • Loading branch information...
1 parent 51508c6 commit bcb5e42aab686e2fa5cb48ec3745080701df5e00 @markstory markstory committed Sep 28, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 cake/tests/cases/libs/model/behavior.test.php
@@ -975,6 +975,8 @@ function testBehaviorMethodDispatchingWithData() {
$Apple->set('field', 'value');
$this->assertTrue($Apple->testData());
$this->assertTrue($Apple->data['Apple']['field_2']);
+
+ $this->assertTrue($Apple->testData('one', 'two', 'three', 'four', 'five', 'six'));
}
/**
* testBehaviorTrigger method

0 comments on commit bcb5e42

Please sign in to comment.