Method: Paperclip::Shoulda::Matchers::ValidateAttachmentContentTypeMatcher#negative_failure_message
- Defined in:
- lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
#negative_failure_message ⇒ Object
44 45 46 47 |
# File 'lib/paperclip/matchers/validate_attachment_content_type_matcher.rb', line 44 def "Content types #{@allowed_types.join(", ")} should be rejected" + " and #{@rejected_types.join(", ")} accepted by #{@attachment_name}" end |