summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-10-08 09:33:09 -0500
committerJesse Luehrs <doy@tozt.net>2012-10-08 09:33:09 -0500
commitda8c427f8592a75b2e412d73fe9cd01763611340 (patch)
treeeb96a28b8ed7462b0cd6fc7d5aad039964cffee2
parentd9f70b4de89dbda8dd5a07e1194bd1b213028ddc (diff)
downloadplack-middleware-xslate-da8c427f8592a75b2e412d73fe9cd01763611340.tar.gz
plack-middleware-xslate-da8c427f8592a75b2e412d73fe9cd01763611340.zip
test pass_throughHEADmaster
-rw-r--r--t/basic.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/basic.t b/t/basic.t
index d73f691..86becc4 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -10,7 +10,7 @@ use Plack::Builder;
my $app = builder {
enable "Xslate",
path => qr{^/}, root => 't/basic/', pass_through => 1;
- sub { [ 404, [], [ 'Not found' ] ] };
+ sub { [ 404, [], [ 'pass_through to base app' ] ] };
};
test_psgi
@@ -40,6 +40,7 @@ CONTENT
{
my $res = $cb->(GET '/missing.html');
is($res->code, 404);
+ is($res->content, 'pass_through to base app');
}
};