Adding the missing files, oops.
J. Shirley [Thu, 23 Aug 2007 22:31:02 +0000 (22:31 +0000)]
t/lib/TestApp/View/Email/Template/AppConfig.pm [new file with mode: 0644]
t/root/text_html/test.m [new file with mode: 0644]
t/root/text_plain/test.m [new file with mode: 0644]

diff --git a/t/lib/TestApp/View/Email/Template/AppConfig.pm b/t/lib/TestApp/View/Email/Template/AppConfig.pm
new file mode 100644 (file)
index 0000000..487905e
--- /dev/null
@@ -0,0 +1,8 @@
+package # Hide from PAUSE
+    TestApp::View::Email::Template::AppConfig;
+
+use Email::Send::Test;
+
+use base 'Catalyst::View::Email::Template';
+
+1;
diff --git a/t/root/text_html/test.m b/t/root/text_html/test.m
new file mode 100644 (file)
index 0000000..b2a0922
--- /dev/null
@@ -0,0 +1,11 @@
+<%args>
+$time
+$email
+</%args>
+<html>
+ <body>
+  <h1>Look at my style</h1>
+  <p>I was sent to <em><% $email->{to} %></em> on <% $time %></p>
+ </body>
+</html>
+
diff --git a/t/root/text_plain/test.m b/t/root/text_plain/test.m
new file mode 100644 (file)
index 0000000..2810e11
--- /dev/null
@@ -0,0 +1,8 @@
+<%args>
+$time
+$email
+</%args>
+
+I am plain text.  I have no style.
+
+I was sent to <% $email->{to} %> on <% $time %>