Add have_attached_matcher to the Readme

This commit is contained in:
Pedro Paiva 2020-08-25 08:54:49 -03:00 committed by Elliot Winkler
parent 781bfca65a
commit e7dde36abf
1 changed files with 4 additions and 0 deletions

View File

@ -395,8 +395,12 @@ about any of them, make sure to [consult the documentation][rubydocs]!
tests usage of `implicit_order_column`.
* **[have_many](lib/shoulda/matchers/active_record/association_matcher.rb)**
tests your `has_many` associations.
* **[have_many_attached](lib/shoulda/matchers/active_record/have_attached_matcher.rb)**
tests your `has_many_attached` associations.
* **[have_one](lib/shoulda/matchers/active_record/association_matcher.rb)**
tests your `has_one` associations.
* **[have_one_attached](lib/shoulda/matchers/active_record/have_attached_matcher.rb)**
tests your `has_one_attached` associations.
* **[have_readonly_attribute](lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb)**
tests usage of the `attr_readonly` macro.
* **[have_rich_text](lib/shoulda/matchers/active_record/have_rich_text_matcher.rb)**