module Paperclip::Shoulda::Matchers
def validate_attachment_presence name
it { should validate_attachment_presence(:avatar) }
describe User do
given attachment.
Ensures that the given instance or class validates the presence of the
def validate_attachment_presence name ValidateAttachmentPresenceMatcher.new(name) end