Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Sortable Tests: Fix IE7 test failures due to incorrectly expecting re…

…lative urls in img srcs.
  • Loading branch information...
commit 384f1812542127e10ea55ba56412a19e5f2b7dda 1 parent 875139e
@mikesherov mikesherov authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/unit/sortable/sortable_options.js
View
2  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" );
}
Please sign in to comment.
Something went wrong with that request. Please try again.