X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F05template.t;h=b8c6936f888df290b2bbbf395839d1cf34db134a;hb=8b10ee5587f3331cc2232efad852a2886f6ed0ca;hp=688f672e9fdc085bfcfd6e13cc14ccd21c5eb6ae;hpb=fd0033bcce7b7449047642b4ced675fded5aae64;p=catagits%2FCatalyst-View-Email.git diff --git a/t/05template.t b/t/05template.t index 688f672..b8c6936 100644 --- a/t/05template.t +++ b/t/05template.t @@ -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;