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

Jifty commits jifty-commit at lists.jifty.org
Mon Oct 20 13:39:59 EDT 2008


Author: sartak
Date: Mon Oct 20 13:39:59 2008
New Revision: 5952

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/t/TestApp-Regions/t/01-region.t

Log:
 r74214 at onn:  sartak | 2008-10-20 13:39:52 -0400
 Test fixes


Modified: jifty/trunk/t/TestApp-Regions/t/01-region.t
==============================================================================
--- jifty/trunk/t/TestApp-Regions/t/01-region.t	(original)
+++ jifty/trunk/t/TestApp-Regions/t/01-region.t	Mon Oct 20 13:39:59 2008
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Jifty::Test::Dist tests => 1;
+use Jifty::Test::Dist tests => 5;
 use Jifty::Test::WWW::Mechanize;
 
 my $server = Jifty::Test->make_server;
@@ -15,7 +15,10 @@
 $mech->content_like(qr{
     <div \s+ class="mason-wrapper"> .*
         <div \s+ class="mason2-wrapper"> .*
-            <h2>mason!</h2> .*
+            <h1>mason \s+ 2!</h1> .*
         </div> .*
     </div>
-}x);
+}xs);
+
+$mech->content_unlike(qr{mason 2!.*mason2-wrapper}s);
+


More information about the Jifty-commit mailing list