diff options
author | Scott González <scott.gonzalez@gmail.com> | 2015-04-06 10:13:15 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-04-09 09:24:45 -0400 |
commit | f908a7793bf9e06f3e23d15028baf2e90e92baaa (patch) | |
tree | b9e837d84ddee6fc29e0876a124c099e8703c127 /tests/unit/button/button_common.js | |
parent | aff3c32ee1f0b81ecea613057e95a40d8edc6b03 (diff) | |
download | jquery-ui-f908a7793bf9e06f3e23d15028baf2e90e92baaa.tar.gz jquery-ui-f908a7793bf9e06f3e23d15028baf2e90e92baaa.zip |
Button: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
Diffstat (limited to 'tests/unit/button/button_common.js')
-rw-r--r-- | tests/unit/button/button_common.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/unit/button/button_common.js b/tests/unit/button/button_common.js index 1564a1bee..d376f4f05 100644 --- a/tests/unit/button/button_common.js +++ b/tests/unit/button/button_common.js @@ -1,4 +1,9 @@ -TestHelpers.commonWidgetTests( "button", { +define( [ + "lib/common", + "ui/button" +], function( common ) { + +common.testWidget( "button", { defaults: { classes: {}, disabled: null, @@ -13,3 +18,5 @@ TestHelpers.commonWidgetTests( "button", { create: null } }); + +} ); |