diff options
author | Colin Curtin <colin@procore.com> | 2008-11-20 13:39:34 -0800 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-11-21 04:09:14 +0530 |
commit | 1d4554d766dbf8391689d91b4b88766757051c68 (patch) | |
tree | a71176f9a7bbf213d5902c7d77783959ede852ba /actionmailer/test/fixtures | |
parent | 84583657f40e5554c496fb24dfbc1921f11b0498 (diff) | |
download | rails-1d4554d766dbf8391689d91b4b88766757051c68.tar.gz rails-1d4554d766dbf8391689d91b4b88766757051c68.tar.bz2 rails-1d4554d766dbf8391689d91b4b88766757051c68.zip |
ActionMailer should respect content type when choosing layouts
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'actionmailer/test/fixtures')
3 files changed, 3 insertions, 0 deletions
diff --git a/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.html.erb b/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.html.erb new file mode 100644 index 0000000000..6d73f199c4 --- /dev/null +++ b/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.html.erb @@ -0,0 +1 @@ +text/html multipart
\ No newline at end of file diff --git a/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.plain.erb b/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.plain.erb new file mode 100644 index 0000000000..f4b91e4031 --- /dev/null +++ b/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.plain.erb @@ -0,0 +1 @@ +text/plain multipart
\ No newline at end of file diff --git a/actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb b/actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb new file mode 100644 index 0000000000..111576b672 --- /dev/null +++ b/actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb @@ -0,0 +1 @@ +text/plain layout - <%= yield %>
\ No newline at end of file |