Changelog History
Page 4
-
v2.2.0 Changes
June 11, 2013 -
v2.1.0 Changes
May 05, 2013Add missing
failure_message_for_should_notimplementations tovalidate_numericality_ofand its submatchers.๐ Support validation contexts for testing validations
on: :createand when using custom contexts likemodel.valid?(:my_context).๐ Fix a bug in validations with autosaved models.
Fix maximum value detection for the
ensure_inclusion_ofandensure_exclusion_ofmatchers.Add
:oddand:evenoptions to thevalidate_numericality_ofmatcher.โ Add
:touchoption to AssociationMatcher.๐ Ruby 2.0.0 is now officially supported.
๐ Fix the issue where using
%{attribute}or%{model}in I18n translations raised exceptions.Support datetime columns in
validate_uniqueness_of.scoped_to.Add
allow_niloption to thevalidate_uniqueness_ofmatcher.
-
v2.0.0 Changes
April 05, 2013- โ Remove the following matchers:
assign_torespond_with_content_typequery_the_databasevalidate_format_ofhave_sent_emailpermit(strong parameters matcher)delegate_method
๐ For more information about 2.0 changes, see: https://robots.thoughtbot.com/post/47031676783/shoulda-matchers-2-0.
- โ Remove the following matchers:
-
v1.5.6 Changes
March 29, 2013- โช Revert previous change in AllowValueMatcher that added a check for a properly-set attribute.
-
v1.5.5 Changes
March 28, 2013๐ AllowValueMatcher checks that the right value is used for attempts at setting the attribute with it. Please note that previously-passing tests might now fail. It is likely that it's not a bug, but please make sure that the code you're testing is written properly before submitting an issue.
Use DisallowValueMatcher for
disallows_value_ofmethod.Assert
class_namevalue on real class name for AssociationMatcher.Correct the variable used for
validate_confirmation_ofmatcher description.
-
v1.5.4 Changes
March 21, 2013- ๐ Properly-released version of 1.5.3.
-
v1.5.3 Changes
March 21, 2013- Alleviate the need to add
rspecgem to your app.
- Alleviate the need to add
-
v1.5.2 Changes
March 19, 2013???
-
v1.5.1 Changes
March 19, 2013โฌ๏ธ Bump version dependency of Bourne to allow for Mocha upgrade.
โ Should fix incompatibility with MiniTest.
-
v1.5.0 Changes
March 15, 2013๐ Deprecate the following matchers:
assign_torespond_with_content_typequery_the_databasevalidate_format_ofhave_sent_emailpermit(strong parameters matcher)delegate_method
๐ง Use RSpec's native
configure.includesyntax for including matchers into RSpec (#204).โ Do not force MiniTest loading when test-unit is available (this was fixed before 1.3.0 then reverted in 1.3.0).