From da8c427f8592a75b2e412d73fe9cd01763611340 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 8 Oct 2012 09:33:09 -0500 Subject: test pass_through --- t/basic.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'); } }; -- cgit v1.2.3-54-g00ecf