lithium\tests\cases\template\helper\FormTest::testCustomInputTypes PHP Метод

testCustomInputTypes() публичный Метод

    public function testCustomInputTypes()
    {
        // Creates an HTML5 'range' input slider:
        $range = $this->form->range('completion', array('min' => 0, 'max' => 100));
        $this->assertTags($range, array('input' => array('type' => 'range', 'name' => 'completion', 'min' => '0', 'max' => '100', 'id' => 'Completion')));
    }
FormTest