diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-28 12:55:53 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-28 17:58:48 -0200 |
commit | 37586ddf279c46c3d0c8c2553d0918aa82ceb020 (patch) | |
tree | 007e6b8a334dfe24703491e8df635b5bd8114b23 /actionmailer/test/fixtures/base_mailer | |
parent | 2b5d3aa442625169125ff0be95fe30f7d462ea54 (diff) | |
download | rails-37586ddf279c46c3d0c8c2553d0918aa82ceb020.tar.gz rails-37586ddf279c46c3d0c8c2553d0918aa82ceb020.tar.bz2 rails-37586ddf279c46c3d0c8c2553d0918aa82ceb020.zip |
Merge pull request #8048 from senny/7761_dont_render_view_without_mail_call
Do not render views when mail() isn't called. (NullMail refactoring)
Conflicts:
actionmailer/CHANGELOG.md
Diffstat (limited to 'actionmailer/test/fixtures/base_mailer')
-rw-r--r-- | actionmailer/test/fixtures/base_mailer/without_mail_call.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionmailer/test/fixtures/base_mailer/without_mail_call.erb b/actionmailer/test/fixtures/base_mailer/without_mail_call.erb new file mode 100644 index 0000000000..290379d5fb --- /dev/null +++ b/actionmailer/test/fixtures/base_mailer/without_mail_call.erb @@ -0,0 +1 @@ +<% raise 'the template should not be rendered' %>
\ No newline at end of file |