aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/menu/menu_methods.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2015-02-17 16:11:58 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2015-03-04 23:04:07 +0100
commit666f051c3a7c0313acacad0255ab8a45697777c3 (patch)
treece60522e6bd237ca14ae41270e6e6159190593e5 /tests/unit/menu/menu_methods.js
parent19783fd3e6a6e6e02a2030028e8820076c3b1295 (diff)
downloadjquery-ui-666f051c3a7c0313acacad0255ab8a45697777c3.tar.gz
jquery-ui-666f051c3a7c0313acacad0255ab8a45697777c3.zip
Tests: Reduce timeouts to optimize testsuite runtime
Diffstat (limited to 'tests/unit/menu/menu_methods.js')
-rw-r--r--tests/unit/menu/menu_methods.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/unit/menu/menu_methods.js b/tests/unit/menu/menu_methods.js
index ef8279018..1cc3ec179 100644
--- a/tests/unit/menu/menu_methods.js
+++ b/tests/unit/menu/menu_methods.js
@@ -11,19 +11,13 @@ module( "menu: methods", {
});
test( "destroy", function() {
- expect( 4 );
- domEqual( "#menu1", function() {
- $( "#menu1" ).menu().menu( "destroy" );
- });
+ expect( 2 );
domEqual( "#menu2", function() {
$( "#menu2" ).menu().menu( "destroy" );
});
domEqual( "#menu5", function() {
$( "#menu5").menu().menu( "destroy" );
});
- domEqual( "#menu6", function() {
- $( "#menu6" ).menu().menu( "destroy" );
- });
});
test( "enable/disable", function() {