aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectable
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-19 13:03:21 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-19 13:03:21 -0400
commite9d5079b04bfc6bf4103630e936be3022d83353c (patch)
treee4e40b6c7a52390b917166c19df9a8e6705638ff /tests/unit/selectable
parent33e93ef7f0aff6b6117177638a94e24e02dbc1be (diff)
downloadjquery-ui-e9d5079b04bfc6bf4103630e936be3022d83353c.tar.gz
jquery-ui-e9d5079b04bfc6bf4103630e936be3022d83353c.zip
Tests: Move commonWidgetTests() to TestHelpers.
Diffstat (limited to 'tests/unit/selectable')
-rw-r--r--tests/unit/selectable/selectable_defaults.js28
1 files changed, 12 insertions, 16 deletions
diff --git a/tests/unit/selectable/selectable_defaults.js b/tests/unit/selectable/selectable_defaults.js
index dbf799a43..27714d0ae 100644
--- a/tests/unit/selectable/selectable_defaults.js
+++ b/tests/unit/selectable/selectable_defaults.js
@@ -1,16 +1,12 @@
-/*
- * selectable_defaults.js
- */
-
-var selectable_defaults = {
- appendTo: 'body',
- autoRefresh: true,
- cancel: ':input,option',
- delay: 0,
- disabled: false,
- distance: 0,
- filter: '*',
- tolerance: 'touch'
-};
-
-commonWidgetTests('selectable', { defaults: selectable_defaults });
+TestHelpers.commonWidgetTests('selectable', {
+ defaults: {
+ appendTo: 'body',
+ autoRefresh: true,
+ cancel: ':input,option',
+ delay: 0,
+ disabled: false,
+ distance: 0,
+ filter: '*',
+ tolerance: 'touch'
+ }
+});