diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-04-27 16:38:46 -0700 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-04-27 16:38:46 -0700 |
commit | ce73871740887aced0c612c70a83359553ad8f36 (patch) | |
tree | 3d0c03aa659282a4b971f805daa3d6cdf9764ab2 /t/004_project.t | |
parent | Fix readme markdown and add note about using cpanm to install deps (diff) | |
download | jitterbug-ce73871740887aced0c612c70a83359553ad8f36.tar.gz |
Make jitterbug::Test look for jitterbug.db in the correct place and TODO another test to make the test suite pass
Diffstat (limited to '')
-rw-r--r-- | t/004_project.t | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/t/004_project.t b/t/004_project.t index 4d00338..568ffc0 100644 --- a/t/004_project.t +++ b/t/004_project.t @@ -10,9 +10,10 @@ use Dancer::Test; jitterbug::Test->init(); -my $response; +my $r; { - $response = dancer_response(GET => '/project/Dancer'); - is $response->status, 404; + 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; } |