diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-04-19 13:03:21 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-19 13:03:21 -0400 |
commit | e9d5079b04bfc6bf4103630e936be3022d83353c (patch) | |
tree | e4e40b6c7a52390b917166c19df9a8e6705638ff /tests/unit/resizable | |
parent | 33e93ef7f0aff6b6117177638a94e24e02dbc1be (diff) | |
download | jquery-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.js | 52 |
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 + } +}); |