[Jifty-commit] r1287 - in jifty: . trunk/t/Continuations/lib/Continuations

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Jun 14 12:27:03 EDT 2006


Author: nelhage
Date: Wed Jun 14 12:27:00 2006
New Revision: 1287

Modified:
   jifty/   (props changed)
   jifty/trunk/t/Continuations/lib/Continuations/Dispatcher.pm
   jifty/trunk/t/Continuations/t/04-before-blocks.t

Log:
 r12635 at phanatique:  nelhage | 2006-06-14 12:26:57 -0400
 Adding in a begin block that this test needs to make sense.


Modified: jifty/trunk/t/Continuations/lib/Continuations/Dispatcher.pm
==============================================================================
--- jifty/trunk/t/Continuations/lib/Continuations/Dispatcher.pm	(original)
+++ jifty/trunk/t/Continuations/lib/Continuations/Dispatcher.pm	Wed Jun 14 12:27:00 2006
@@ -13,6 +13,10 @@
     show '/index.html';
 };
 
+before '/index-help.html' => run {
+    Jifty->web->session->set(got_help => 1);
+};
+
 on '*' => show;
 
 1;

Modified: jifty/trunk/t/Continuations/t/04-before-blocks.t
==============================================================================
--- jifty/trunk/t/Continuations/t/04-before-blocks.t	(original)
+++ jifty/trunk/t/Continuations/t/04-before-blocks.t	Wed Jun 14 12:27:00 2006
@@ -12,7 +12,7 @@
 
 BEGIN {chdir "t/Continuations"}
 use lib '../../lib';
-use Jifty::Test no_plan => 1;
+use Jifty::Test tests => 7;
 
 use_ok('Jifty::Test::WWW::Mechanize');
 


More information about the Jifty-commit mailing list