Permalink
Browse files

Add tests for Radio options and string disabled.

  • Loading branch information...
1 parent e52f824 commit 49299f7f43262c257d3b39d6d2ff5f2abca456f3 @markstory markstory committed Feb 28, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/TestCase/View/Widget/RadioTest.php
@@ -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 = [

0 comments on commit 49299f7

Please sign in to comment.