aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2013-11-25 16:25:39 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2013-11-25 16:25:39 +0100
commit6d7a61478f143b955807d357c210de8f0390f274 (patch)
tree730b6a4d17f881954e0fe8041182607b25a584b8
parent63026bd2c75f326db558d6173045343b0ce3dc09 (diff)
downloadjquery-ui-6d7a61478f143b955807d357c210de8f0390f274.tar.gz
jquery-ui-6d7a61478f143b955807d357c210de8f0390f274.zip
Datepicker tests: Allow IE7 to return an absolute URL in the .attr('src') call
-rw-r--r--tests/unit/datepicker/datepicker_options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/datepicker_options.js
index 25257e99f..b5dd4cac2 100644
--- a/tests/unit/datepicker/datepicker_options.js
+++ b/tests/unit/datepicker/datepicker_options.js
@@ -166,7 +166,7 @@ asyncTest( "invocation", function() {
ok( button.length === 0, "Image button - button absent" );
image = inp.siblings( "img" );
ok( image.length === 1, "Image button - image present" );
- equal( image.attr( "src" ), "images/calendar.gif", "Image button - image source" );
+ ok( /images\/calendar\.gif$/.test( image.attr( "src" ) ), "Image button - image source" );
equal( image.attr( "title" ), "Cal", "Image button - image text" );
TestHelpers.datepicker.onFocus( inp, function() {