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/action_mailbox
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
..
mail_ext Nest Action Mailbox classes in the API docs 2018-12-26 16:18:42 -05:00
router Fix document formatting on ActionMailbox [ci skip] 2019-01-17 01:10:21 +09:00
base.rb Fix document formatting on ActionMailbox [ci skip] 2019-01-17 01:10:21 +09:00
callbacks.rb
engine.rb Remove the Amazon SES ingress 2019-04-14 12:15:54 -04:00
gem_version.rb Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
mail_ext.rb
relayer.rb Add Exim and Qmail support to Action Mailbox 2019-01-12 21:38:26 -05:00
router.rb Use try only when we're unsure if the receiver would respond_to the method 2019-08-01 17:58:00 +09:00
routing.rb Delegate to the correct method in ActionMailbox.mailbox_for 2019-05-05 12:09:32 -07:00
test_case.rb Add load hook for ActionMailbox::TestCase 2018-12-31 23:35:53 -05:00
test_helper.rb Allow testing multipart emails in Action Mailbox 2019-08-07 10:12:13 -04:00
version.rb