diff --git a/Croogo/Test/Case/View/Helper/CroogoFormHelperTest.php b/Croogo/Test/Case/View/Helper/CroogoFormHelperTest.php index 6dbaaad903..98a23135e2 100644 --- a/Croogo/Test/Case/View/Helper/CroogoFormHelperTest.php +++ b/Croogo/Test/Case/View/Helper/CroogoFormHelperTest.php @@ -494,4 +494,32 @@ public function testInputPlaceholderNestedModel() { $this->assertTags($result, $expected); } +/** + * Test radio button class + */ + public function testInputRadioButtonClass() { + $result = $this->CroogoForm->input('Node.promote', array( + 'type' => 'radio', + 'class' => 'super-radio-button', + 'options' => array( + 0 => 'Not promoted', + 1 => 'Promoted', + ), + )); + $this->assertStringStartsWith('