Former\LiveValidationTest::testCanHaveSpacesInRulesForSomeReason PHP Method

testCanHaveSpacesInRulesForSomeReason() public method

    public function testCanHaveSpacesInRulesForSomeReason()
    {
        $this->former->withRules(array('foo' => 'required | email'));
        $input = $this->former->text('foo')->render();
        $this->assertHTML($this->matchField(array('required' => true), 'email'), $input);
    }
LiveValidationTest