Skip to content

Commit

Permalink
Add tests for GH-558
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 17, 2012
1 parent 6e4456f commit 381e5b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Test/Case/View/Helper/FormHelperTest.php
Expand Up @@ -1096,6 +1096,9 @@ public function testFormSecurityArrayFields() {
$this->Form->create('Address');
$this->Form->input('Address.primary.1');
$this->assertEquals('Address.primary', $this->Form->fields[0]);

$this->Form->input('Address.secondary.1.0');
$this->assertEquals('Address.secondary', $this->Form->fields[1]);
}

/**
Expand Down

0 comments on commit 381e5b1

Please sign in to comment.