Phalcon\Test\Unit\Tag\TagTextAreaTest::testTextAreaStringParameter PHP Method

testTextAreaStringParameter() public method

Tests textArea with string as a parameter
Since: 2014-09-05
Author: Nikolaos Dimopoulos ([email protected])
    public function testTextAreaStringParameter()
    {
        $this->specify("textArea with string parameter returns invalid", function () {
            $options = 'x_name';
            $expected = '<textarea id="x_name" name="x_name">' . '</textarea';
            $this->tester->testFieldParameter('textArea', $options, $expected, false);
        });
    }