]> source.dussan.org Git - jquery-ui.git/commitdiff
Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls...
authorMike Sherov <mike.sherov@gmail.com>
Sun, 31 Mar 2013 15:55:24 +0000 (11:55 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 17 Apr 2013 19:06:58 +0000 (15:06 -0400)
tests/unit/sortable/sortable_options.js

index a499c01c1fc7d3e3b306fbed023d9f3d25154a8c..9a072332d506ee67e2a24e12d2c99dcf135cf5b7 100644 (file)
@@ -330,7 +330,7 @@ test( "{ placeholder: false } img", function() {
 
        var element = $( "#sortable-images" ).sortable({
                start: function( event, ui ) {
-                       equal( ui.placeholder.attr( "src" ), "../images/jqueryui_32x32.png", "placeholder img has correct src" );
+                       ok( ui.placeholder.attr( "src" ).indexOf( "images/jqueryui_32x32.png" ) > 0, "placeholder img has correct src" );
                        equal( ui.placeholder.height(), 32, "placeholder has correct height" );
                        equal( ui.placeholder.width(), 32, "placeholder has correct width" );
                }