about summary refs log tree commit diff
path: root/t/004_project.t
blob: 568ffc073e948a9196a1e1bb009aff723e0da412 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use Test::More tests => 1;
use strict;
use warnings;

use lib 't/lib';

use jitterbug;
use jitterbug::Test;
use Dancer::Test;

jitterbug::Test->init();

my $r;

{
    local $TODO = "non-existent project gives a 500 instead of a 404";
    $r = dancer_response(GET => '/project/Dancer');
    is $r->status, 404 or diag $r->content;
}