Former\LiveValidationTest::testCanSetMaxToNumber PHP Method

testCanSetMaxToNumber() public method

    public function testCanSetMaxToNumber()
    {
        $this->former->withRules(array('foo' => 'max:42'));
        $input = $this->former->number('foo')->__toString();
        $matcher = $this->matchField(array('max' => '42'), 'number');
        $this->assertHTML($matcher, $input);
        $this->assertControlGroup($input);
    }
LiveValidationTest