Sha256: d6eec258d4aecc83de84e33cf0a5140f06fa0c967cf492c39dd4c15c5fd52bbd

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

# 1.0.0 - February 27, 2013

+ Add `validate_exclusion_of` matcher.
+ Add `validate_inclusion_of` matcher.
+ Add `validate_associated` matcher.
+ Add `with_message` option to all the matchers.
+ Add `on` option to all the matchers.
+ Add support for activerecord and activemodel 3.2.x, 4.0.0 and edge.
+ Add support for Ruby 1.9.3, 2.0.0, ruby-head, rbx-19mode.
+ Add `validate_uniqueness_of` matcher.
+ Add `scoped_to` option to `validate_uniqueness_of` matcher.
+ Add `case_insensitive` option to `validate_uniqueness_of` matcher.

# 0.0.1 - October 13, 2012

+ 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-1.0.0 CHANGELOG.md