diff options
author | Scott González <scott.gonzalez@gmail.com> | 2015-04-06 13:04:04 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-04-09 09:26:26 -0400 |
commit | f2ca8f92f0d9ab9c7bf2e202e7ff7778daeef85c (patch) | |
tree | 790023b094bbf4890f4d552b3a75ccc1177fda5b /tests/unit/menu/menu_options.js | |
parent | a0e3da0459e4fbbde99dfa5f41929fdc82dfde1e (diff) | |
download | jquery-ui-f2ca8f92f0d9ab9c7bf2e202e7ff7778daeef85c.tar.gz jquery-ui-f2ca8f92f0d9ab9c7bf2e202e7ff7778daeef85c.zip |
Menu: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
Diffstat (limited to 'tests/unit/menu/menu_options.js')
-rw-r--r-- | tests/unit/menu/menu_options.js | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/tests/unit/menu/menu_options.js b/tests/unit/menu/menu_options.js index 3df547334..91630e14b 100644 --- a/tests/unit/menu/menu_options.js +++ b/tests/unit/menu/menu_options.js @@ -1,12 +1,16 @@ -(function( $ ) { +define( [ + "jquery", + "./menu_test_helpers", + "ui/menu" +], function( $, menuTestHelpers ) { -var log = TestHelpers.menu.log, - logOutput = TestHelpers.menu.logOutput, - click = TestHelpers.menu.click; +var log = menuTestHelpers.log, + logOutput = menuTestHelpers.logOutput, + click = menuTestHelpers.click; module( "menu: options", { setup: function() { - TestHelpers.menu.clearLog(); + menuTestHelpers.clearLog(); } }); @@ -118,4 +122,4 @@ test( "{ role: null }", function( assert ) { }); }); -})( jQuery ); +} ); |