1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailbox/test/unit
Paul McMahon 40d63cee31 Test extensions to Mail gem
The from_address method is added to Mail::Message, but is not used
internally to ActionMailbox, nor tested (even implicitly). As it is part
of the public API, it feels important to at least have a basic test of
it.

Similarly, the x_original_to_addresses was only implicitly tested via
the recipients_addresses method. Given other similar methods are
explicitly tested, it feels like an oversight not to test it as well.

As the test introduced from_address didn't align with the naming of
RecipientsTest, I renamed it to the more generic AddressesTest.
2019-12-03 06:51:41 +09:00
..
inbound_email Allow skipping incineration of processed emails 2019-02-06 19:28:49 -05:00
mail_ext Test extensions to Mail gem 2019-12-03 06:51:41 +09:00
mailbox Rename variable to represent type 2019-05-05 10:29:31 -07:00
inbound_email_test.rb Ensure Action Mailbox processes an email only once when received multiple times 2019-01-17 11:13:40 -06:00
relayer_test.rb Add Exim and Qmail support to Action Mailbox 2019-01-12 21:38:26 -05:00
router_test.rb Fix Bcc header missing with emails from conductor and test helpers 2019-07-26 13:04:16 -04:00
test_helper_test.rb Correct the assertion argument order 2019-08-08 00:06:34 +05:30