aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/datepicker
diff options
context:
space:
mode:
authorKeith Wood <kbwood.au@gmail.com>2009-12-01 01:24:00 +0000
committerKeith Wood <kbwood.au@gmail.com>2009-12-01 01:24:00 +0000
commitfe217c4745fb73516e0835f3c4c195304ad6b43d (patch)
treed7b982df0c2c157c906d661471d40b66325d0402 /tests/unit/datepicker
parentf07293942f42b7415e232833d2016741799da856 (diff)
downloadjquery-ui-fe217c4745fb73516e0835f3c4c195304ad6b43d.tar.gz
jquery-ui-fe217c4745fb73516e0835f3c4c195304ad6b43d.zip
Datepicker - Fixed #4787 - Datepicker: fix animation control
Diffstat (limited to 'tests/unit/datepicker')
-rw-r--r--tests/unit/datepicker/datepicker_core.js2
-rw-r--r--tests/unit/datepicker/datepicker_options.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/datepicker/datepicker_core.js b/tests/unit/datepicker/datepicker_core.js
index 9ff25b3d6..f34c9fa06 100644
--- a/tests/unit/datepicker/datepicker_core.js
+++ b/tests/unit/datepicker/datepicker_core.js
@@ -33,7 +33,7 @@ function addMonths(date, offset) {
function init(id, options) {
$.datepicker.setDefaults($.datepicker.regional['']);
- return $(id).datepicker($.extend({duration: ''}, options || {}));
+ return $(id).datepicker($.extend({showAnim: ''}, options || {}));
}
var PROP_NAME = 'datepicker';
diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/datepicker_options.js
index b66644f0f..8a716144b 100644
--- a/tests/unit/datepicker/datepicker_options.js
+++ b/tests/unit/datepicker/datepicker_options.js
@@ -46,7 +46,7 @@ test('option', function() {
equals(inp.datepicker('option', 'showOn'), 'button', 'Change instance showOn');
inp.datepicker('option', 'showOn', undefined);
equals(inp.datepicker('option', 'showOn'), 'focus', 'Reset instance showOn');
- same(inp.datepicker('option', 'all'), {duration: ''}, 'Get instance settings');
+ same(inp.datepicker('option', 'all'), {showAnim: ''}, 'Get instance settings');
same(inp.datepicker('option', 'defaults'), $.datepicker._defaults,
'Get default settings');
});