Add tests for GH-558

This commit is contained in:
mark_story 2012-03-16 21:03:02 -04:00
parent 6e4456fbd7
commit 381e5b10bc

View file

@ -1096,6 +1096,9 @@ class FormHelperTest extends CakeTestCase {
$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]);
}
/**