All Versions
47
Latest Version
Avg Release Cycle
139 days
Latest Release
581 days ago

Changelog History
Page 4

  • v2.2.0 Changes

    June 11, 2013
    • Fix have_and_belong_to_many matcher issue for Rails 4.

    • Fix validate_uniqueness_of.scoped_to issue when the scoped field is already taken (#207).

    • Add comparison submatchers to validate_numericality_of to correspond to the comparison options you can give to validates_numericality_of (#244).

  • v2.1.0 Changes

    May 05, 2013
    • Add missing failure_message_for_should_not implementations to validate_numericality_of and its submatchers.

    • ๐Ÿ‘Œ Support validation contexts for testing validations on: :create and when using custom contexts like model.valid?(:my_context).

    • ๐Ÿ›  Fix a bug in validations with autosaved models.

    • Fix maximum value detection for the ensure_inclusion_of and ensure_exclusion_of matchers.

    • Add :odd and :even options to the validate_numericality_of matcher.

    • โž• Add :touch option 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_nil option to the validate_uniqueness_of matcher.

  • v2.0.0 Changes

    April 05, 2013
    • โœ‚ Remove the following matchers:
      • assign_to
      • respond_with_content_type
      • query_the_database
      • validate_format_of
      • have_sent_email
      • permit (strong parameters matcher)
      • delegate_method

    ๐Ÿ‘€ For more information about 2.0 changes, see: https://robots.thoughtbot.com/post/47031676783/shoulda-matchers-2-0.

  • 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_of method.

    • Assert class_name value on real class name for AssociationMatcher.

    • Correct the variable used for validate_confirmation_of matcher 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 rspec gem to your app.
  • 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_to
      • respond_with_content_type
      • query_the_database
      • validate_format_of
      • have_sent_email
      • permit (strong parameters matcher)
      • delegate_method
    • ๐Ÿ”ง Use RSpec's native configure.include syntax 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).