aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/slider/slider_common.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-23 10:15:17 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-23 10:15:17 -0400
commit7a5a77da50e5e2401043410434c49971ce504653 (patch)
treebd77148cbed152728b2d3001359cd1c1f0247660 /tests/unit/slider/slider_common.js
parent3b54760b51fde0e541d2b47c34475ab29a4eea79 (diff)
downloadjquery-ui-7a5a77da50e5e2401043410434c49971ce504653.tar.gz
jquery-ui-7a5a77da50e5e2401043410434c49971ce504653.zip
Tests: Rename {widget}_defaults.js -> {widget}_common.js
Diffstat (limited to 'tests/unit/slider/slider_common.js')
-rw-r--r--tests/unit/slider/slider_common.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/unit/slider/slider_common.js b/tests/unit/slider/slider_common.js
new file mode 100644
index 000000000..8a0b347f3
--- /dev/null
+++ b/tests/unit/slider/slider_common.js
@@ -0,0 +1,19 @@
+TestHelpers.commonWidgetTests( "slider", {
+ defaults: {
+ animate: false,
+ cancel: ':input,option',
+ delay: 0,
+ disabled: false,
+ distance: 0,
+ max: 100,
+ min: 0,
+ orientation: 'horizontal',
+ range: false,
+ step: 1,
+ value: 0,
+ values: null,
+
+ // callbacks
+ create: null
+ }
+});