diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-11-25 16:25:39 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-11-25 16:25:39 +0100 |
commit | 6d7a61478f143b955807d357c210de8f0390f274 (patch) | |
tree | 730b6a4d17f881954e0fe8041182607b25a584b8 | |
parent | 63026bd2c75f326db558d6173045343b0ce3dc09 (diff) | |
download | jquery-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.js | 2 |
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() { |