06confit.t now passes. may/may not want to remove the config shit from the test model
[catagits/Catalyst-View-Email.git] / t / lib / TestApp.pm
index 3789de3..8412eb2 100644 (file)
@@ -5,17 +5,21 @@ use Catalyst;
 use FindBin;
 
 TestApp->config(
-    root => "$FindBin::Bin/root",
-    default_view => 'TT',
+    root            => "$FindBin::Bin/root",
+    default_view    => 'TT',
     'View::Email::AppConfig' => {
         sender => {
-            method => 'Test',
+            mailer => 'Test',
         },
     },
     'View::Email::Template::AppConfig' => {
         stash_key => 'template_email',
         sender => {
-            method => 'Test',
+            mailer => 'Test',
+        },
+               content_type => 'text/html',
+        default => {
+            view => 'TT',
         },
     },
 );