aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2013-03-31 11:55:24 -0400
committerScott González <scott.gonzalez@gmail.com>2013-04-17 15:06:58 -0400
commitff2fe5bc94420613ea685d129098e27eb8c65bcb (patch)
treea192eac25acbc47109b7dbf4782356a417c3a831 /tests
parent59da723acdb61a9554b6cf157dd7f7ea78d508a4 (diff)
downloadjquery-ui-ff2fe5bc94420613ea685d129098e27eb8c65bcb.tar.gz
jquery-ui-ff2fe5bc94420613ea685d129098e27eb8c65bcb.zip
Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls in img srcs.(cherry picked from commit 384f1812542127e10ea55ba56412a19e5f2b7dda)
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/sortable/sortable_options.js2
1 files changed, 1 insertions, 1 deletions
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" );
}