about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/plack.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/plack.t b/t/plack.t
index 37a6b394..4b830a21 100644
--- a/t/plack.t
+++ b/t/plack.t
@@ -209,6 +209,10 @@ test_psgi($app, sub {
         my $res = $cb->(GET($pfx . '/blah@example.com/raw'));
         is(200, $res->code, 'success response received for /*/raw');
         like($res->content, qr!^From !sm, "mbox returned");
+
+        $res = $cb->(GET($pfx . '/blah@example.com/t.mbox.gz'));
+        is(501, $res->code, '501 when overview missing');
+        like($res->content, qr!\bOverview\b!, 'overview omission noted');
 });
 
 # legacy redirects