[Jifty-commit] r7102 - jifty/trunk/t/TestApp/t

Jifty commits jifty-commit at lists.jifty.org
Mon May 25 08:49:09 EDT 2009

Author: yves
Date: Mon May 25 08:49:07 2009
New Revision: 7102


match "Call stack" instead of "something went awry" which appears in some sample code in halo

Modified: jifty/trunk/t/TestApp/t/20-error-pages.t
--- jifty/trunk/t/TestApp/t/20-error-pages.t	(original)
+++ jifty/trunk/t/TestApp/t/20-error-pages.t	Mon May 25 08:49:07 2009
@@ -44,7 +44,9 @@
     $mech->warnings_like(qr/Can't locate object method "non_existent_method" via package "Jifty::Web"/);
     $mech->base_unlike(qr{errors/500}, "Doesn't redirect if only a region error");
-    $mech->content_unlike(qr/something went awry/i, "Doesn't have error header");
+    #$mech->content_unlike(qr/something went awry/i, "Doesn't have error header");
+    #warn $mech->content;
+    $mech->content_like(qr/<h2>Call stack<\/h2>/i, "Doesn't have error header");
     $mech->content_like(qr/locate object method .*?non_existent_method.*?/, "Has error itself, if in devel mode");
     $mech->content_like(qr/region-with-error/, "Have stack trace");
     $mech->content_like(qr/Calling before/, "Does have region content from before error");

More information about the Jifty-commit mailing list