No need of a second View in tests
[catagits/Catalyst-View-Component-SubInclude.git] / t / lib / ESITest / View / TTWithHTTP.pm
diff --git a/t/lib/ESITest/View/TTWithHTTP.pm b/t/lib/ESITest/View/TTWithHTTP.pm
deleted file mode 100644 (file)
index 17f9b2f..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-package ESITest::View::TTWithHTTP;
-use Moose;
-
-extends 'Catalyst::View::TT';
-with 'Catalyst::View::Component::SubInclude';
-
-__PACKAGE__->config(
-    TEMPLATE_EXTENSION => '.tt',
-    subinclude_plugin => 'HTTP::GET',
-    subinclude => {
-        'HTTP::GET' => {
-            class => 'HTTP',
-            http_method => 'GET',
-            uri_map => {
-                '/cpan/' => 'http://search.cpan.org/~',
-                '/github/' => 'http://github.com/',
-            },
-        },
-    },
-);
-
-1;