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

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Jan 24 15:50:16 EST 2008


Author: alexmv
Date: Thu Jan 24 15:49:50 2008
New Revision: 4931

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/t/TestApp/t/15-template-subclass.t
   jifty/trunk/t/TestApp/t/16-template-region.t

Log:
 r27023 at zoq-fot-pik:  chmrr | 2008-01-24 15:48:04 -0500
  * Fix tests for new region styling


Modified: jifty/trunk/t/TestApp/t/15-template-subclass.t
==============================================================================
--- jifty/trunk/t/TestApp/t/15-template-subclass.t	(original)
+++ jifty/trunk/t/TestApp/t/15-template-subclass.t	Thu Jan 24 15:49:50 2008
@@ -59,7 +59,7 @@
 sub in_region {
     qq|<script type="text/javascript">
 new Region('$_[0]',{},'$_[1]',null);
-</script><div id="region-$_[0]">$_[2]</div>|;
+</script><div id="region-$_[0]" class="jifty-region">$_[2]</div>|;
 }
 
 plan tests => 2 + scalar(@tests) * 2;

Modified: jifty/trunk/t/TestApp/t/16-template-region.t
==============================================================================
--- jifty/trunk/t/TestApp/t/16-template-region.t	(original)
+++ jifty/trunk/t/TestApp/t/16-template-region.t	Thu Jan 24 15:49:50 2008
@@ -14,7 +14,7 @@
 <span>1</span>
 <span>2</span><script type="text/javascript">
 new Region('special',{'id':3},'/foo/item',null);
-</script><div id="region-special">
+</script><div id="region-special" class="jifty-region">
 <span>3</span></div>|
     },
 


More information about the Jifty-commit mailing list