From: Mike Sherov Date: Sun, 31 Mar 2013 15:55:24 +0000 (-0400) Subject: Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls... X-Git-Tag: 1.11.0-beta.1~383 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=384f1812542127e10ea55ba56412a19e5f2b7dda;p=jquery-ui.git Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls in img srcs. --- diff --git a/tests/unit/sortable/sortable_options.js b/tests/unit/sortable/sortable_options.js index a499c01c1..9a072332d 100644 --- a/tests/unit/sortable/sortable_options.js +++ b/tests/unit/sortable/sortable_options.js @@ -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" ); }