rails/actionmailbox/test/unit/mail_ext
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
..
address_equality_test.rb Import Action Mailbox 2018-12-25 21:32:35 -05:00
address_wrapping_test.rb Import Action Mailbox 2018-12-25 21:32:35 -05:00
addresses_test.rb Test extensions to Mail gem 2019-12-03 06:51:41 +09:00