Sha256: f8e1248c8b0f1aecb499d29caafabdc19a544ecdea0354c595cd8a11c64b5914
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 KB
Contents
# 0.0.1 - 10/13/12 + Add `validate_presence_of` matcher. + Add `validate_acceptance_of` matcher. + Add `accepts_with(value)` option to `ValidateAcceptanceMatcher`. + Add `validate_confirmation_of` matcher. + Add `validate_length_of` matcher. + Add `validate_size_of` alias to `validate_length_of`. + Add `ensure_length_of` and `ensure_size_of` aliases to `validate_length_of`. + Add `with_minimum` option to `ValidateLengthMatcher`. + Add `with_min` and `is_at_least` aliases to `ValidateLengthMatcher#with_minimum`. + Add `with_maximum` option to `ValidateLengthMatcher`. + Add `with_max` and `is_at_most` aliases to `ValidateLengthMatcher#with_maximum`. + Add `within` option to `ValidateLengthMatcher`. + Add `in` alias to `ValidateLengthMatcher#within`. + Raise `ArgumentError` if the given value for `ValidateLengthMatcher#within` is not a `Range`. + Add `is` option to `ValidateLengthMatcher`. + Add `is_equal_to` alias to `ValidateLengthMatcher#is`. + Add `validate_format_of` matcher. + Raise `ArgumentError` if no option is given for `validate_length_of` matcher. + Add `to_allow` and `to_not_allow` options to `ValidateFormatMatcher`. + Raise `ArgumentError` if no option is given for `validate_format_of` matcher. + Raise error if `to_allow` and `to_not_allow` options are called at once.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minitest-activemodel-0.0.1 | CHANGELOG.md |