mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ab34ed8acc
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.
487 B
487 B
-
Allow easier creation of multi-part emails from the
create_inbound_email_from_mail
andreceive_inbound_email_from_mail
test helpers.Michael Herold
-
Fix Bcc header not being included with emails from
create_inbound_email_from
test helpers.jduff
-
Add
ApplicationMailbox.mailbox_for
to expose mailbox routing.James Dabbs
Please check 6-0-stable for previous changes.