[Catalyst-commits] r6933 - trunk/Catalyst-Plugin-Session/t

jrockway at dev.catalyst.perl.org jrockway at dev.catalyst.perl.org
Sat Sep 22 01:55:53 GMT 2007


Author: jrockway
Date: 2007-09-22 01:55:53 +0100 (Sat, 22 Sep 2007)
New Revision: 6933

Modified:
   trunk/Catalyst-Plugin-Session/t/03_flash.t
Log:
change finalize to finalize_headers in test also (maybe should be finalize_session?!)

Modified: trunk/Catalyst-Plugin-Session/t/03_flash.t
===================================================================
--- trunk/Catalyst-Plugin-Session/t/03_flash.t	2007-09-22 00:54:19 UTC (rev 6932)
+++ trunk/Catalyst-Plugin-Session/t/03_flash.t	2007-09-22 00:55:53 UTC (rev 6933)
@@ -29,7 +29,7 @@
 
 $c->flash->{foo} = "moose";
 
-$c->finalize;
+$c->finalize_headers;
 
 is_deeply( $c->flash, { foo => "moose" }, "one key in flash" );
 
@@ -37,21 +37,21 @@
 
 is_deeply( $c->flash, { foo => "moose", bar => "gorch" }, "two keys in flash" );
 
-$c->finalize;
+$c->finalize_headers;
 
 is_deeply( $c->flash, { bar => "gorch" }, "one key in flash" );
 
-$c->finalize;
+$c->finalize_headers;
 
 $c->flash->{test} = 'clear_flash';
 
-$c->finalize;
+$c->finalize_headers;
 
 $c->clear_flash();
 
 is_deeply( $c->flash, {}, "nothing in flash after clear_flash" );
 
-$c->finalize;
+$c->finalize_headers;
 
 is_deeply( $c->flash, {}, "nothing in flash after finalize after clear_flash" );
 
@@ -59,7 +59,7 @@
 
 $c->config->{session}{flash_to_stash} = 1;
 
-$c->finalize;
+$c->finalize_headers;
 $c->prepare_action;
 
 is_deeply( $c->stash, { bar => "gorch" }, "flash copied to stash" );




More information about the Catalyst-commits mailing list