Remove tests that no longer apply

This commit is contained in:
Keith Wood 2009-01-19 10:43:08 +00:00
parent 56b1f93434
commit 10de3f0be2

View File

@ -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');