aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2013-01-02 17:37:26 -0500
committerMike Sherov <mike.sherov@gmail.com>2013-01-02 17:37:26 -0500
commitff47763924a5c6efaa8be5de1c27d01d4cec603e (patch)
tree3f2384989345c10386192b643d03491129a373d1 /tests
parentb477098da5cb57336540f993cd2dbdfc73d63d03 (diff)
downloadjquery-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.html2
-rw-r--r--tests/unit/datepicker/datepicker_common.js7
-rw-r--r--tests/unit/datepicker/datepicker_defaults.js11
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 });
-*/