And add another failing test - we should 404 if the project we ask for a summary...
Tomas Doran [Fri, 6 Nov 2009 03:37:08 +0000 (03:37 +0000)]
t/01app.t

index 5ba4316..8ffabe1 100644 (file)
--- a/t/01app.t
+++ b/t/01app.t
@@ -15,5 +15,8 @@ for my $p (qw/ bare.git repo1 nodescription /) {
     ok( request($path)->is_success, "$path should succeed");
 }
 
+is request('/summary?p=DoesNotExist')->code, 404,
+    '/summary?p=DoesNotExist 404s';
+
 done_testing;