Skip to content
Permalink
Browse files

Remove tests that no longer apply

  • Loading branch information
Keith Wood
Keith Wood committed Jan 19, 2009
1 parent 56b1f93 commit 10de3f0be288fcce20730f285bb6cf783798f547
Showing with 0 additions and 7 deletions.
  1. +0 −7 tests/unit/datepicker/datepicker.js
@@ -38,13 +38,6 @@ var PROP_NAME = 'datepicker';

test('setDefaults', function() {
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');
$.datepicker.setDefaults({showOn: 'button'});
equals($.datepicker._defaults.showOn, 'button', 'Change default showOn');

0 comments on commit 10de3f0

Please sign in to comment.
You can’t perform that action at this time.