1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailer/test
John Hawthorn 4e6c8045c3 Add test and change how format set in ActionMailer
Previously this used self.formats= to set the format which render would
use to find templates. This worked, but was untested, and looked a
little confusing because it was doing the mutation within a loop.

This commit replaces the assignment with passing formats: [format] into
the render call, which makes it more obvious that that's the purpose of
the format. It also adds a test to verify the formats being used.
2019-03-01 14:07:59 -08:00
..
fixtures Add test and change how format set in ActionMailer 2019-03-01 14:07:59 -08:00
mailers Add test and change how format set in ActionMailer 2019-03-01 14:07:59 -08:00
abstract_unit.rb Fix legacy fallback for parameterized mailers 2019-01-07 17:38:28 -05:00
assert_select_email_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
asset_host_test.rb
base_test.rb Add test and change how format set in ActionMailer 2019-03-01 14:07:59 -08:00
caching_test.rb pass format to the digestor 2019-02-16 10:57:51 -08:00
delivery_methods_test.rb
i18n_with_controller_test.rb
legacy_delivery_job_test.rb Fix legacy fallback for parameterized mailers 2019-01-07 17:38:28 -05:00
log_subscriber_test.rb Don’t log recipients when sending mail 2019-02-13 09:55:38 -05:00
mail_helper_test.rb
mail_layout_test.rb
message_delivery_test.rb Add MailDeliveryJob for unified mail delivery 2018-12-04 11:00:34 -05:00
parameterized_test.rb Add MailDeliveryJob for unified mail delivery 2018-12-04 11:00:34 -05:00
test_case_test.rb
test_helper_test.rb Add MailDeliveryJob for unified mail delivery 2018-12-04 11:00:34 -05:00
url_test.rb This patch removes deprecated catch-all routes from AM 2018-09-24 16:12:44 -07:00