aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 });
-*/