From 10de3f0be288fcce20730f285bb6cf783798f547 Mon Sep 17 00:00:00 2001 From: Keith Wood Date: Mon, 19 Jan 2009 10:43:08 +0000 Subject: [PATCH] Remove tests that no longer apply --- tests/unit/datepicker/datepicker.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/unit/datepicker/datepicker.js b/tests/unit/datepicker/datepicker.js index ef3230709..038675a53 100644 --- a/tests/unit/datepicker/datepicker.js +++ b/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');