Permalink
Browse files

Add additional test for empty.

  • Loading branch information...
markstory committed Jan 7, 2014
1 parent b783966 commit 0cb86ec3c09b859bbcd6e1b3a19e062a65e90618
Showing with 4 additions and 0 deletions.
  1. +4 −0 Test/TestCase/View/Input/SelectBoxTest.php
@@ -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.