Module | Paperclip::Shoulda::Matchers

In:

vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_presence_matcher.rb
vendor/plugins/paperclip/lib/paperclip/matchers/have_attached_file_matcher.rb

### Methods

have_attached_file validate_attachment_content_type validate_attachment_presence validate_attachment_size

### Classes and Modules

Class Paperclip::Shoulda::Matchers::HaveAttachedFileMatcher
Class Paperclip::Shoulda::Matchers::ValidateAttachmentContentTypeMatcher
Class Paperclip::Shoulda::Matchers::ValidateAttachmentPresenceMatcher
Class Paperclip::Shoulda::Matchers::ValidateAttachmentSizeMatcher

### Public Instance methods

have_attached_file(name)

[Source]

       # File vendor/plugins/paperclip/lib/paperclip/matchers/have_attached_file_matcher.rb, line 4
    4:       def have_attached_file name
    5:         HaveAttachedFileMatcher.new(name)
    6:       end

validate_attachment_content_type(name)

[Source]

       # File vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb, line 4
    4:       def validate_attachment_content_type name
    5:         ValidateAttachmentContentTypeMatcher.new(name)
    6:       end

validate_attachment_presence(name)

[Source]

       # File vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_presence_matcher.rb, line 4
    4:       def validate_attachment_presence name
    5:         ValidateAttachmentPresenceMatcher.new(name)
    6:       end

validate_attachment_size(name)

[Source]

       # File vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb, line 4
    4:       def validate_attachment_size name
    5:         ValidateAttachmentSizeMatcher.new(name)
    6:       end

[Validate]