From ff47763924a5c6efaa8be5de1c27d01d4cec603e Mon Sep 17 00:00:00 2001 From: Mike Sherov Date: Wed, 2 Jan 2013 17:37:26 -0500 Subject: Datepicker Tests: Prepare for widget-ization tests. --- tests/unit/datepicker/datepicker.html | 2 +- tests/unit/datepicker/datepicker_common.js | 7 +++++++ tests/unit/datepicker/datepicker_defaults.js | 11 ----------- 3 files changed, 8 insertions(+), 12 deletions(-) create mode 100644 tests/unit/datepicker/datepicker_common.js delete mode 100644 tests/unit/datepicker/datepicker_defaults.js (limited to 'tests') diff --git a/tests/unit/datepicker/datepicker.html b/tests/unit/datepicker/datepicker.html index 390d052c3..8ef2de5a4 100644 --- a/tests/unit/datepicker/datepicker.html +++ b/tests/unit/datepicker/datepicker.html @@ -22,8 +22,8 @@ }); + - diff --git a/tests/unit/datepicker/datepicker_common.js b/tests/unit/datepicker/datepicker_common.js new file mode 100644 index 000000000..1eecc85cb --- /dev/null +++ b/tests/unit/datepicker/datepicker_common.js @@ -0,0 +1,7 @@ +/* +TestHelpers.commonWidgetTests( "datepicker", { + defaults: { + disabled: false + } +}); +*/ diff --git a/tests/unit/datepicker/datepicker_defaults.js b/tests/unit/datepicker/datepicker_defaults.js deleted file mode 100644 index 1e7d90852..000000000 --- a/tests/unit/datepicker/datepicker_defaults.js +++ /dev/null @@ -1,11 +0,0 @@ -/* - * datepicker_defaults.js - */ - -/* -var datepicker_defaults = { - disabled: false -}; - -TestHelpers.commonWidgetTests('datepicker', { defaults: datepicker_defaults }); -*/ -- cgit v1.2.3