[Jifty-commit] r4789 - in jifty/trunk: t/TestApp-Plugin-JQuery/t

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Jan 4 17:23:43 EST 2008


Author: sartak
Date: Fri Jan  4 17:23:43 2008
New Revision: 4789

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/t/TestApp-Plugin-JQuery/t/jquery.t

Log:
 r49918 at onn:  sartak | 2008-01-04 17:22:31 -0500
 jQuery: Fix our one test failure (caused by a broken test)


Modified: jifty/trunk/t/TestApp-Plugin-JQuery/t/jquery.t
==============================================================================
--- jifty/trunk/t/TestApp-Plugin-JQuery/t/jquery.t	(original)
+++ jifty/trunk/t/TestApp-Plugin-JQuery/t/jquery.t	Fri Jan  4 17:23:43 2008
@@ -20,7 +20,7 @@
 $mech->get_ok($url . $script, "Fetched $url$script");
 $mech->content_like(qr/^ \* jQuery (?:[\d\.]+) - New Wave Javascript/m,
     "Found the start of the jQuery script");
-$mech->content_like(qr/^var jQuery = function\(/m, 
+$mech->content_like(qr/^var jQuery = window\.jQuery = function\(/m, 
     "Found the main jQuery declaration");
 $mech->content_like(qr/^ \* noConflict.js/m, 
     "Found the start of the noConflict script");


More information about the Jifty-commit mailing list