Skip to content

Commit

Permalink
Add additional test for empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 7, 2014
1 parent b783966 commit 0cb86ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Test/TestCase/View/Input/SelectBoxTest.php
Expand Up @@ -210,6 +210,10 @@ public function testRenderEmptyOption() {
'/select'
];
$this->assertTags($result, $expected);

$data['value'] = false;
$result = $select->render($data);
$this->assertTags($result, $expected);
}

}

0 comments on commit 0cb86ec

Please sign in to comment.