respect-validation/tests/unit
Henrique Moody d53811f7b7 Remove user-defined optional values
Since we have NotOptional rule now, we must keep the same opposite
behaviour between these two rules.

This commit also improve and increase tests from Optional rule and
updates the documentation.

No tests was made for messages on MODE_DEFAULT because it's not possible
for a while since we don't have such much granularity control, but after
some fixes on Not rule, maybe we will be able to do that, that's why I
kept the messages on OptionalException.
2015-10-15 11:14:20 -03:00
..
Exceptions Remove identical checking from "Equals" rule 2015-10-13 13:29:31 -03:00
Rules Remove user-defined optional values 2015-10-15 11:14:20 -03:00
FactoryTest.php Move unit tests to "tests/unit" 2015-08-11 13:36:25 -03:00
ValidatorTest.php Remove all rules shortcuts 2015-10-14 13:06:36 -03:00