[Catalyst-commits] r7043 - in Catalyst-View-Email/0.10:
lib/Catalyst/View/Email t t/lib/TestApp/Controller
abraxxa at dev.catalyst.perl.org
abraxxa at dev.catalyst.perl.org
Mon Oct 22 18:46:52 GMT 2007
Author: abraxxa
Date: 2007-10-22 18:46:52 +0100 (Mon, 22 Oct 2007)
New Revision: 7043
Modified:
Catalyst-View-Email/0.10/lib/Catalyst/View/Email/Template.pm
Catalyst-View-Email/0.10/t/07mason.t
Catalyst-View-Email/0.10/t/lib/TestApp/Controller/Root.pm
Log:
- fixed a typo in a the chosen view debug message
- fixed Mason tests
Modified: Catalyst-View-Email/0.10/lib/Catalyst/View/Email/Template.pm
===================================================================
--- Catalyst-View-Email/0.10/lib/Catalyst/View/Email/Template.pm 2007-10-22 17:22:18 UTC (rev 7042)
+++ Catalyst-View-Email/0.10/lib/Catalyst/View/Email/Template.pm 2007-10-22 17:46:52 UTC (rev 7043)
@@ -165,7 +165,7 @@
# else fallback to Catalysts default view
else {
$view = $c->view;
- $c->log->debug("C::V::Email::Template uses back to catalysts default view $view for rendering.") if $c->debug;;
+ $c->log->debug("C::V::Email::Template uses Catalysts default view $view for rendering.") if $c->debug;;
}
# validate the per template view
Modified: Catalyst-View-Email/0.10/t/07mason.t
===================================================================
--- Catalyst-View-Email/0.10/t/07mason.t 2007-10-22 17:22:18 UTC (rev 7042)
+++ Catalyst-View-Email/0.10/t/07mason.t 2007-10-22 17:46:52 UTC (rev 7043)
@@ -15,7 +15,7 @@
use_ok('Catalyst::Test', 'TestApp');
-TestApp->config->{default}->{view} = 'mason';
+TestApp->config->{default_view} = 'Mason';
my $response;
my $time = time;
Modified: Catalyst-View-Email/0.10/t/lib/TestApp/Controller/Root.pm
===================================================================
--- Catalyst-View-Email/0.10/t/lib/TestApp/Controller/Root.pm 2007-10-22 17:22:18 UTC (rev 7042)
+++ Catalyst-View-Email/0.10/t/lib/TestApp/Controller/Root.pm 2007-10-22 17:46:52 UTC (rev 7043)
@@ -128,12 +128,12 @@
subject => 'Just a test',
templates => [
{
- template => 'text_plain/test.tt',
+ template => 'text_plain/test.m',
content_type => 'text/plain',
},
{
view => 'Mason',
- template => 'text_html/test.tt',
+ template => 'text_html/test.m',
content_type => 'text/html',
},
],
More information about the Catalyst-commits
mailing list