Skip to content

Commit

Permalink
Add tests for Radio options and string disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 28, 2014
1 parent e52f824 commit 49299f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/TestCase/View/Widget/RadioTest.php
Expand Up @@ -446,6 +446,10 @@ public function testRenderDisabled() {
];
$this->assertTags($result, $expected);

$data['disabled'] = 'a string';
$result = $radio->render($data);
$this->assertTags($result, $expected);

$data['disabled'] = ['1'];
$result = $radio->render($data);
$expected = [
Expand Down

0 comments on commit 49299f7

Please sign in to comment.