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/fixtures/base_mailer
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
..
attachment_with_content.erb Get implicit multipart and attachments working together. 2010-01-22 14:38:41 +01:00
attachment_with_hash.html.erb raise an error if no implicit mailer template could be found 2012-06-20 22:06:31 +02:00
attachment_with_hash_default_encoding.html.erb raise an error if no implicit mailer template could be found 2012-06-20 22:06:31 +02:00
different_layout.html.erb Add a failing test case for render :layout 2010-01-29 17:51:05 +01:00
different_layout.text.erb Add a failing test case for render :layout 2010-01-29 17:51:05 +01:00
email_with_translations.html.erb Ruby's new Hash syntax applied in actionmailer 2013-11-14 13:41:37 +05:30
explicit_multipart_templates.html.erb Add some tests to collector with templates and any. 2010-01-23 12:46:40 +01:00
explicit_multipart_templates.text.erb Add some tests to collector with templates and any. 2010-01-23 12:46:40 +01:00
explicit_multipart_with_one_template.erb Improve performance of the rendering stack by freezing formats as a sign that they shouldn't be further modified. 2010-03-19 17:20:20 +01:00
html_only.html.erb Fixed bug on HTML only emails getting set to text/plain 2010-01-28 00:24:30 +11:00
implicit_multipart.html.erb
implicit_multipart.text.erb
implicit_multipart_formats.html.erb Add test and change how format set in ActionMailer 2019-03-01 14:07:59 -08:00
implicit_multipart_formats.text.erb Add test and change how format set in ActionMailer 2019-03-01 14:07:59 -08:00
implicit_with_locale.de-AT.text.erb Template lookup now respect default locale and I18n fallbacks. 2014-12-29 23:48:35 -03:00
implicit_with_locale.de.html.erb Template lookup now respect default locale and I18n fallbacks. 2014-12-29 23:48:35 -03:00
implicit_with_locale.en.html.erb Ensure implicit multipart templates with locale works as expected. 2010-01-24 23:59:12 +01:00
implicit_with_locale.html.erb Ensure implicit multipart templates with locale works as expected. 2010-01-24 23:59:12 +01:00
implicit_with_locale.pl.text.erb Ensure implicit multipart templates with locale works as expected. 2010-01-24 23:59:12 +01:00
implicit_with_locale.text.erb Ensure implicit multipart templates with locale works as expected. 2010-01-24 23:59:12 +01:00
inline_attachment.html.erb Adding inline attachment support to ActionMailer 2010-06-07 21:54:53 -04:00
inline_attachment.text.erb Adding inline attachment support to ActionMailer 2010-06-07 21:54:53 -04:00
plain_text_only.text.erb Fixed bug on HTML only emails getting set to text/plain 2010-01-28 00:24:30 +11:00
welcome.erb
welcome_with_headers.html.erb raise an error if no implicit mailer template could be found 2012-06-20 22:06:31 +02:00
without_mail_call.erb Do not render views when mail() isn't called. (NullMail refactoring) 2012-10-28 20:45:43 +01:00