added Test::Pod support
[catagits/Catalyst-Runtime.git] / t / 13beginend.t
diff --git a/t/13beginend.t b/t/13beginend.t
deleted file mode 100644 (file)
index 81bd9d9..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-package TestApp;
-
-use Catalyst qw[-Engine=Test];
-
-__PACKAGE__->action(
-
-    '!begin' => sub {
-        my ( $self, $c ) = @_;
-        $c->res->output('foo');
-    },
-
-    '!default' => sub { },
-
-    '!end' => sub {
-        my ( $self, $c ) = @_;
-        $c->res->output( $c->res->output . 'bar' );
-    },
-
-);
-
-package TestApp::C::Foo::Bar;
-
-TestApp->action(
-
-    '!begin' => sub {
-        my ( $self, $c ) = @_;
-        $c->res->output('yada');
-    },
-
-    '!default' => sub { },
-
-    '!end' => sub {
-        my ( $self, $c ) = @_;
-        $c->res->output('yada');
-        $c->res->output( $c->res->output . 'yada' );
-    },
-
-);
-
-package main;
-
-use Test::More tests => 2;
-use Catalyst::Test 'TestApp';
-
-ok( get('/foo')         =~ /foobar/ );
-ok( get('/foo/bar/foo') =~ /yadayada/ );