aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/resizable
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/resizable
parent33e93ef7f0aff6b6117177638a94e24e02dbc1be (diff)
downloadjquery-ui-e9d5079b04bfc6bf4103630e936be3022d83353c.tar.gz
jquery-ui-e9d5079b04bfc6bf4103630e936be3022d83353c.zip
Tests: Move commonWidgetTests() to TestHelpers.
Diffstat (limited to 'tests/unit/resizable')
-rw-r--r--tests/unit/resizable/resizable_defaults.js52
1 files changed, 24 insertions, 28 deletions
diff --git a/tests/unit/resizable/resizable_defaults.js b/tests/unit/resizable/resizable_defaults.js
index f69e5217c..c46e10781 100644
--- a/tests/unit/resizable/resizable_defaults.js
+++ b/tests/unit/resizable/resizable_defaults.js
@@ -1,28 +1,24 @@
-/*
- * resizable_defaults.js
- */
-
-var resizable_defaults = {
- alsoResize: false,
- animate: false,
- animateDuration: 'slow',
- animateEasing: 'swing',
- aspectRatio: false,
- autoHide: false,
- cancel: ':input,option',
- containment: false,
- delay: 0,
- disabled: false,
- distance: 1,
- ghost: false,
- grid: false,
- handles: 'e,s,se',
- helper: false,
- maxHeight: null,
- maxWidth: null,
- minHeight: 10,
- minWidth: 10,
- zIndex: 1000
-};
-
-commonWidgetTests('resizable', { defaults: resizable_defaults });
+TestHelpers.commonWidgetTests('resizable', {
+ defaults: {
+ alsoResize: false,
+ animate: false,
+ animateDuration: 'slow',
+ animateEasing: 'swing',
+ aspectRatio: false,
+ autoHide: false,
+ cancel: ':input,option',
+ containment: false,
+ delay: 0,
+ disabled: false,
+ distance: 1,
+ ghost: false,
+ grid: false,
+ handles: 'e,s,se',
+ helper: false,
+ maxHeight: null,
+ maxWidth: null,
+ minHeight: 10,
+ minWidth: 10,
+ zIndex: 1000
+ }
+});