diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2013-01-02 17:37:26 -0500 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2013-01-02 17:37:26 -0500 |
commit | ff47763924a5c6efaa8be5de1c27d01d4cec603e (patch) | |
tree | 3f2384989345c10386192b643d03491129a373d1 /tests | |
parent | b477098da5cb57336540f993cd2dbdfc73d63d03 (diff) | |
download | jquery-ui-ff47763924a5c6efaa8be5de1c27d01d4cec603e.tar.gz jquery-ui-ff47763924a5c6efaa8be5de1c27d01d4cec603e.zip |
Datepicker Tests: Prepare for widget-ization tests.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/datepicker/datepicker.html | 2 | ||||
-rw-r--r-- | tests/unit/datepicker/datepicker_common.js | 7 | ||||
-rw-r--r-- | tests/unit/datepicker/datepicker_defaults.js | 11 |
3 files changed, 8 insertions, 12 deletions
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 @@ }); </script> + <script src="datepicker_common.js"></script> <script src="datepicker_core.js"></script> - <script src="datepicker_defaults.js"></script> <script src="datepicker_events.js"></script> <script src="datepicker_methods.js"></script> <script src="datepicker_options.js"></script> 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 }); -*/ |