Class: Remarkable::ActiveRecord::Matchers::ValidateAssociatedMatcher
- Inherits:
-
Matcher::Base
- Object
- Matcher::Base
- Remarkable::ActiveRecord::Matchers::ValidateAssociatedMatcher
- Includes:
- Helpers
- Defined in:
- lib/remarkable/active_record/macros/validations/validate_associated_matcher.rb
Instance Method Summary collapse
Methods included from Helpers
#allow_blank, #allow_nil, #message
Methods included from Default::Helpers
#assert_contains, #assert_does_not_contain
Methods inherited from Matcher::Base
#failure_message, #negative, #negative_failure_message, #spec
Methods included from Matcher::DSL
Instance Method Details
#description ⇒ Object
14 15 16 |
# File 'lib/remarkable/active_record/macros/validations/validate_associated_matcher.rb', line 14 def description "require association #{@associations.to_sentence} to be valid" end |