[Jifty-commit] r595 -

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat Feb 18 15:04:25 EST 2006


Author: jesse
Date: Sat Feb 18 15:04:24 2006
New Revision: 595

Modified:
   /   (props changed)
   jifty/trunk/t/TestApp/t/02-dispatch.t

Log:
 r23855 at truegrounds:  jesse | 2006-02-18 11:34:10 -0800
 * Better test diagnostics


Modified: jifty/trunk/t/TestApp/t/02-dispatch.t
==============================================================================
--- jifty/trunk/t/TestApp/t/02-dispatch.t	(original)
+++ jifty/trunk/t/TestApp/t/02-dispatch.t	Sat Feb 18 15:04:24 2006
@@ -14,20 +14,20 @@
 my $URL     = $server->started_ok;
 my $mech    = Jifty::Test::WWW::Mechanize->new();
 
-$mech->get_ok("$URL/dispatch/basic");
+$mech->get_ok("$URL/dispatch/basic", "Got /dispatch/basic");
 $mech->content_contains("Basic test.");
 $mech->content_contains("Count 0");
 
-$mech->get_ok("$URL/dispatch/basic-show");
+$mech->get_ok("$URL/dispatch/basic-show", "Got /dispatch/basic-show");
 $mech->content_contains("Basic test with forced show.");
 $mech->content_contains("Count 1");
 
-$mech->get_ok("$URL/dispatch/show/");
+$mech->get_ok("$URL/dispatch/show/", "Got /dispatch/show");
 $mech->content_contains("Basic test with forced show.");
 $mech->content_contains("Count 2");
 $mech->content_lacks("Count 3");
 
-$mech->get_ok("$URL/dispatch/");
+$mech->get_ok("$URL/dispatch/", "Got /dispatch/");
 $mech->content_contains("Basic test.");
 $mech->content_contains("Count 3");
 $mech->content_lacks("Count 4");


More information about the Jifty-commit mailing list