[Jifty-commit] r6170 - in jifty/trunk: t/TestApp/t

Jifty commits jifty-commit at lists.jifty.org
Sat Dec 20 01:40:40 EST 2008


Author: alexmv
Date: Sat Dec 20 01:40:40 2008
New Revision: 6170

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/t/TestApp/t/02-dispatch-show-rule-in-wrong-ruleset.t
   jifty/trunk/t/TestApp/t/05-editactions-Cachable.t
   jifty/trunk/t/TestApp/t/05-editactions-Record.t

Log:
 r40221 at kohr-ah:  chmrr | 2008-12-20 01:39:41 -0500
  * Fixes for updated LWP, WWW::Mechanize; ->get and ->post are not ->get_ok and ->post_ok


Modified: jifty/trunk/t/TestApp/t/02-dispatch-show-rule-in-wrong-ruleset.t
==============================================================================
--- jifty/trunk/t/TestApp/t/02-dispatch-show-rule-in-wrong-ruleset.t	(original)
+++ jifty/trunk/t/TestApp/t/02-dispatch-show-rule-in-wrong-ruleset.t	Sat Dec 20 01:40:40 2008
@@ -2,7 +2,7 @@
 use warnings;
 use strict;
 
-use Jifty::Test::Dist tests => 8;
+use Jifty::Test::Dist tests => 7;
 use Jifty::Test::WWW::Mechanize;
 use Test::Log4perl;
 
@@ -15,15 +15,15 @@
 
 {
 #    my $log = Test::Log4perl->expect(['', warn => qr/You can't call a 'show' rule in a 'before' or 'after' block in the dispatcher/ ]);
-$mech->get("$URL/before_stage_show", "Got /before_stage_show");
+$mech->get("$URL/before_stage_show");
 $mech->content_lacks("This is content");
 is( $mech->status , '404');
 }
-$mech->get_ok("$URL/on_stage_show", "Got /on_stage_show");
+$mech->get("$URL/on_stage_show");
 #diag $mech->content;
 $mech->content_contains("his is content");
 
-$mech->get("$URL/after_stage_show", "Got /after_stage_show");
+$mech->get("$URL/after_stage_show");
 $mech->content_lacks("This is content");
 is( $mech->status , '404');
 

Modified: jifty/trunk/t/TestApp/t/05-editactions-Cachable.t
==============================================================================
--- jifty/trunk/t/TestApp/t/05-editactions-Cachable.t	(original)
+++ jifty/trunk/t/TestApp/t/05-editactions-Cachable.t	Sat Dec 20 01:40:40 2008
@@ -34,7 +34,7 @@
     'J:A:F-name-updateuser' => 'edituser',
     'J:A:F-email-updateuser' => 'newemail at example.com',
     'J:A:F-tasty-updateuser' => '0'
-}, "Form submitted");
+});
 
 undef $o;
 $o = TestApp::Model::User->new(current_user => $system_user);

Modified: jifty/trunk/t/TestApp/t/05-editactions-Record.t
==============================================================================
--- jifty/trunk/t/TestApp/t/05-editactions-Record.t	(original)
+++ jifty/trunk/t/TestApp/t/05-editactions-Record.t	Sat Dec 20 01:40:40 2008
@@ -35,7 +35,7 @@
     'J:A:F-name-updateuser' => 'edituser',
     'J:A:F-email-updateuser' => 'newemail at example.com',
     'J:A:F-tasty-updateuser' => '0'
-}, "Form submitted");
+});
 
 undef $o;
 $o = TestApp::Model::User->new(current_user => $system_user);


More information about the Jifty-commit mailing list