diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-08 09:33:09 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-08 09:33:09 -0500 |
commit | da8c427f8592a75b2e412d73fe9cd01763611340 (patch) | |
tree | eb96a28b8ed7462b0cd6fc7d5aad039964cffee2 | |
parent | d9f70b4de89dbda8dd5a07e1194bd1b213028ddc (diff) | |
download | plack-middleware-xslate-da8c427f8592a75b2e412d73fe9cd01763611340.tar.gz plack-middleware-xslate-da8c427f8592a75b2e412d73fe9cd01763611340.zip |
-rw-r--r-- | t/basic.t | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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'); } }; |