public static function passwordField($name, $value = '', $htmlOptions = array())
{
return self::textInputField('password', $name, $value, $htmlOptions);
}
public function testPasswordField() { $I = $this->codeGuy; $html = TbHtml::passwordField('password', 'secret', array('class' => 'input')); $input = $I->createNode($html, 'input[type=password]'); $I->seeNodeAttributes($input, array('class' => 'input', 'id' => 'password', 'name' => 'password', 'value' => 'secret')); }