Bump to v0.06, adding in Mason tests and better config handling
[catagits/Catalyst-View-Email.git] / t / 05template.t
index 688f672..b8c6936 100644 (file)
@@ -1,11 +1,18 @@
 use strict;
 use warnings;
-use Test::More tests => 10;
+use Test::More;
 
 use Email::Send::Test;
 use FindBin;
 use lib "$FindBin::Bin/lib";
 
+eval "use Catalyst::View::TT";
+if ( $@ ) {
+    plan skip_all => 'Catalyst::View::TT required for Template tests';
+    exit;
+}
+plan tests => 10;
+
 use_ok('Catalyst::Test', 'TestApp');
 
 my $response;