Commit Graph

20 Commits

Author SHA1 Message Date
Maxim Kaschenko acb02d0448 ensure_exclusion_of => validate_exclusion_of 2014-07-23 19:39:16 -06:00
Maxim Kaschenko 93c2336e98 ensure_inclusion_of => validate_inclusion_of 2014-07-21 23:01:40 -06:00
Elliot Winkler c22d7c89e0 Extract examples in README to inline documentation 2014-06-20 16:41:27 -06:00
Yukio Mizuta 806716c79c Improve ValidateNumericalityOfMatcher document expression 2014-01-31 09:47:50 -07:00
Elliot Winkler fcbb5c485e Convert to 1.9 hash syntax 2014-01-17 13:20:44 -07:00
jmpage 2cdae242ca Add validates_absence_of matcher 2013-12-23 19:21:22 -07:00
Elliot Winkler 27c065ba55 Move ValidateNumericalityOf submatchers to a subfolder 2013-12-14 12:04:36 -07:00
Matt Daubert 5815d38fa0 Add have_secure_password matcher 2013-09-05 19:51:04 -06:00
Tiago Cardoso 9e77132b34 Add comparison submatchers to validate_numericality_of
You can now use the following with validate_numericality_of:

* is_greater_than (corresponds to :greater_than)
* is_greater_than_or_equal_to (corresponds to :greater_than_or_equal_to)
* is_equal_to (corresponds to :equal_to)
* is_less_than (corresponds_to :less_than)
* is_less_than_or_equal_to (corresponds_to :less_than_or_equal_to)
2013-05-23 21:08:40 -06:00
Abd ar-Rahman 8aa860dc2d Add odd & even number matchers for numericality matcher 2013-04-26 10:51:40 -04:00
Melissa Xie 53246538cf Remove 'validate_format_of' matcher
* See issue #252
2013-04-03 13:08:27 -04:00
Gabe Berke-Williams af8f9a7bff Use current thoughtbot style in specs 2012-12-26 22:45:54 -05:00
Reade Harris 6ba8c9f1a1 Use submatchers instead of inheritance for ValidatesNumericalityMatcher. 2012-11-09 09:35:20 -05:00
Jason Draper 1a71d16238 Try next values in array only.
If we can't find a valid next value outside of each item
in the array, throw a custom exception.
2012-10-05 12:58:43 -04:00
Joe Ferris fde078da02 Add documentation for strict validation testing 2012-09-14 09:59:24 -04:00
Joe Ferris 87327c225a Extract ExceptionMessageFinder from AllowValueMatcher
* Replaces repeated conditional with polymorphism
2012-09-12 20:48:30 -04:00
Joe Ferris 3dbf5d4f0d Extract ValidationMessageFinder from AllowValueMatcher 2012-09-12 20:25:33 -04:00
Blake Thomson 1b5fc27cf8 Add validates_confirmation_of matcher 2011-12-15 11:42:26 -05:00
Vasiliy Ermolovich d8308ec74d add ensure_exclusion_of 2011-10-16 20:49:58 +03:00
Markus Schwed 2a54fdb28d Seperate ActiveRecord and ActiveModel related matchers 2011-05-06 15:56:36 +02:00