Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

Commit

Permalink
Failing test for public type() getter on element.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed May 30, 2015
1 parent 38a7a9c commit a2ffd74
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/FormBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,13 @@ public function testRemoveClass()
$this->assertEquals($expected, $result);
}

public function testGetTypeAttribute()
{
$expected = 'radio';
$result = $this->form->radio('fm-transmission')->type();
$this->assertEquals($expected, $result);
}

private function getStubObject()
{
$obj = new stdClass;
Expand Down

0 comments on commit a2ffd74

Please sign in to comment.