module Mail::Matchers
Public Instance Methods
Source
# File lib/mail/matchers/attachment_matchers.rb, line 8 def an_attachment_with_filename(filename) AttachmentFilenameMatcher.new(filename) end
Source
# File lib/mail/matchers/attachment_matchers.rb, line 12 def an_attachment_with_mime_type(filename) AttachmentMimeTypeMatcher.new(filename) end
Source
# File lib/mail/matchers/attachment_matchers.rb, line 4 def any_attachment AnyAttachmentMatcher.new end
Source
# File lib/mail/matchers/has_sent_mail.rb, line 4 def have_sent_email HasSentEmailMatcher.new(self) end