respect-validation/tests
Henrique Moody 60e3fc3740
Refactor "Between" rule
The "Between" rule was extending the "AllOf" rule and adding "Max" and
"Min" rules to the chain. Because of that, when the rule failed we could
get the "MinException" or the "MaxException" exception, and only if both
failed that we would get the "BetweenException".

With this change it will always get the "BetweenException" which makes
it more explicit.

Also, the "Between" is not using the same standard required in the
Contribution Guidelines.
2018-03-03 18:06:26 +01:00
..
fixtures Create "Image" rule 2015-12-14 10:14:26 -02:00
integration Refactor "Between" rule 2018-03-03 18:06:26 +01:00
library Refactor rules related to age 2018-02-24 09:28:54 +01:00
unit Refactor "Between" rule 2018-03-03 18:06:26 +01:00