diff options
| author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-04-28 12:04:48 -0700 |
|---|---|---|
| committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-04-28 12:04:48 -0700 |
| commit | 2d8ded73a3ac395839ce4abe0ec59dabfdfba0bf (patch) | |
| tree | 98402ccc9cc8db654a942ef27b20c844bf0232d8 /t/004_project.t | |
| parent | Add on_failure_to_email and on_pass_to_email config keys (diff) | |
| parent | Prevent a use of uninitialized value warning (diff) | |
| download | jitterbug-2d8ded73a3ac395839ce4abe0ec59dabfdfba0bf.tar.gz | |
Merge branch 'reuse_repo'
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; } |
