Skip to content

Commit ff2fe5b

Browse files
mikesherovscottgonzalez
authored andcommitted
Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls in img srcs.(cherry picked from commit 384f181)
1 parent 59da723 commit ff2fe5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/sortable/sortable_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ test( "{ placeholder: false } img", function() {
330330

331331
var element = $( "#sortable-images" ).sortable({
332332
start: function( event, ui ) {
333-
equal( ui.placeholder.attr( "src" ), "../images/jqueryui_32x32.png", "placeholder img has correct src" );
333+
ok( ui.placeholder.attr( "src" ).indexOf( "images/jqueryui_32x32.png" ) > 0, "placeholder img has correct src" );
334334
equal( ui.placeholder.height(), 32, "placeholder has correct height" );
335335
equal( ui.placeholder.width(), 32, "placeholder has correct width" );
336336
}

0 commit comments

Comments
 (0)