projects
/
catagits/Catalyst-View-Component-SubInclude.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ad6cd50
)
Clean up test app to need less dependencies
Tomas Doran [Sun, 24 Jan 2010 21:41:22 +0000 (21:41 +0000)]
t/lib/ESITest.pm
patch
|
blob
|
blame
|
history
t/lib/ESITest/View/TT.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/ESITest.pm
b/t/lib/ESITest.pm
index
7b2f026
..
43bbf0b
100644
(file)
--- a/
t/lib/ESITest.pm
+++ b/
t/lib/ESITest.pm
@@
-5,11
+5,8
@@
use warnings;
use Catalyst::Runtime '5.70';
-use parent qw/Catalyst/;
+use base qw/Catalyst/;
use Catalyst qw/
- -Debug
- ConfigLoader
- Static::Simple
SubRequest
/;
diff --git
a/t/lib/ESITest/View/TT.pm
b/t/lib/ESITest/View/TT.pm
index
03f141a
..
4f17bd6
100644
(file)
--- a/
t/lib/ESITest/View/TT.pm
+++ b/
t/lib/ESITest/View/TT.pm
@@
-4,6
+4,9
@@
use Moose;
extends 'Catalyst::View::TT';
with 'Catalyst::View::Component::SubInclude';
-__PACKAGE__->config( TEMPLATE_EXTENSION => '.tt' );
+__PACKAGE__->config(
+ TEMPLATE_EXTENSION => '.tt',
+ subinclude_plugin => 'Visit',
+);
1;