mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Remove tests that no longer apply
This commit is contained in:
parent
56b1f93434
commit
10de3f0be2
@ -38,13 +38,6 @@ var PROP_NAME = 'datepicker';
|
|||||||
|
|
||||||
test('setDefaults', function() {
|
test('setDefaults', function() {
|
||||||
var inp = init('#inp');
|
var inp = init('#inp');
|
||||||
var dp = $('#ui-datepicker-div');
|
|
||||||
ok(!dp.is(':visible'), 'Initially invisible');
|
|
||||||
ok(inp.is('.hasDatepicker'), 'Marker class set');
|
|
||||||
ok($($.datepicker.dpDiv).html() == '', 'Content empty');
|
|
||||||
inp.datepicker('show');
|
|
||||||
ok($($.datepicker.dpDiv).html() != '', 'Content present');
|
|
||||||
inp.datepicker('hide');
|
|
||||||
equals($.datepicker._defaults.showOn, 'focus', 'Initial showOn');
|
equals($.datepicker._defaults.showOn, 'focus', 'Initial showOn');
|
||||||
$.datepicker.setDefaults({showOn: 'button'});
|
$.datepicker.setDefaults({showOn: 'button'});
|
||||||
equals($.datepicker._defaults.showOn, 'button', 'Change default showOn');
|
equals($.datepicker._defaults.showOn, 'button', 'Change default showOn');
|
||||||
|
Loading…
Reference in New Issue
Block a user