aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/fixtures
diff options
context:
space:
mode:
authorMikel Lindsaar <raasdnil@gmail.com>2010-06-07 21:54:53 -0400
committerMikel Lindsaar <raasdnil@gmail.com>2010-06-07 21:54:53 -0400
commit311d99eef01c268cedc6e9b3bdb9abc2ba5c6bfa (patch)
tree290419276bbedb4e86405616bc9a5ada445cd63d /actionmailer/test/fixtures
parent21cc1ed4370666cdb1944d4591b5663fd6206ae3 (diff)
downloadrails-311d99eef01c268cedc6e9b3bdb9abc2ba5c6bfa.tar.gz
rails-311d99eef01c268cedc6e9b3bdb9abc2ba5c6bfa.tar.bz2
rails-311d99eef01c268cedc6e9b3bdb9abc2ba5c6bfa.zip
Adding inline attachment support to ActionMailer
Diffstat (limited to 'actionmailer/test/fixtures')
-rw-r--r--actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb5
-rw-r--r--actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb4
2 files changed, 9 insertions, 0 deletions
diff --git a/actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb b/actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb
new file mode 100644
index 0000000000..e200878127
--- /dev/null
+++ b/actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb
@@ -0,0 +1,5 @@
+<h1>Inline Image</h1>
+
+<%= image_tag attachments['logo.png'].url %>
+
+<p>This is an image that is inline</p> \ No newline at end of file
diff --git a/actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb b/actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb
new file mode 100644
index 0000000000..e161d244d2
--- /dev/null
+++ b/actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb
@@ -0,0 +1,4 @@
+Inline Image
+
+No image for you
+