]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/plack.t
www: serve $INBOX_DIR/description as $INBOX_URL/description
[public-inbox.git] / t / plack.t
index a9a053ed0db420697840707222e2f6f2f4ace779..e23658fd3003d56d06acc887dd6c9effd272096e 100644 (file)
--- a/t/plack.t
+++ b/t/plack.t
@@ -189,6 +189,8 @@ test_psgi($app, sub {
        like($body, qr/<title>test for public-inbox/,
                "set title in XML feed");
        like($body, qr/zzzzzz/, 'body included');
+       $res = $cb->(GET($pfx . '/description'));
+       like($res->content, qr/test for public-inbox/, 'got description');
 });
 
 test_psgi($app, sub {