1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailbox/lib
Michael Herold ab34ed8acc Allow testing multipart emails in Action Mailbox
Allow passing a block to the create_inbound_email_from_mail and
receive_inbound_email_from_mail test helper methods.

When you wanted to test a multipart email -- for example, an email that
has both a plaintext part and an HTML part -- there wasn't a way to
easily build one without a pre-made fixture. By allowing you to pass a
block to these methods, we unlock the power of Mail.new to easily
create a variety of emails, from multi-part emails, to emails with
attachments, and beyond.
2019-08-07 10:12:13 -04:00
..
action_mailbox Allow testing multipart emails in Action Mailbox 2019-08-07 10:12:13 -04:00
rails/generators Remove frozen_string_literal magic comment from template file 2019-05-29 08:00:59 +09:00
tasks Add Exim and Qmail support to Action Mailbox 2019-01-12 21:38:26 -05:00
action_mailbox.rb Allow skipping incineration of processed emails 2019-02-06 19:28:49 -05:00