diff options
-rw-r--r-- | tests/unit/datepicker/datepicker_core.js | 2 | ||||
-rw-r--r-- | tests/unit/datepicker/datepicker_options.js | 2 |
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'); }); |