From 1f4f002cf7b4c3666e6e7e9f80414cf9b7b2c2b3 Mon Sep 17 00:00:00 2001 From: Rafael Xavier de Souza Date: Mon, 13 May 2013 15:27:40 -0300 Subject: [PATCH] Test: Update effects_core test, since puff-effect and size-effect now have its own files --- tests/unit/effects/effects.html | 2 ++ tests/unit/effects/effects_core.js | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/unit/effects/effects.html b/tests/unit/effects/effects.html index 4538ecb03..f35393b89 100644 --- a/tests/unit/effects/effects.html +++ b/tests/unit/effects/effects.html @@ -21,9 +21,11 @@ "ui/jquery.ui.effect-fade.js", "ui/jquery.ui.effect-fold.js", "ui/jquery.ui.effect-highlight.js", + "ui/jquery.ui.effect-puff.js", "ui/jquery.ui.effect-pulsate.js", "ui/jquery.ui.effect-scale.js", "ui/jquery.ui.effect-shake.js", + "ui/jquery.ui.effect-size.js", "ui/jquery.ui.effect-slide.js", "ui/jquery.ui.effect-transfer.js" ] diff --git a/tests/unit/effects/effects_core.js b/tests/unit/effects/effects_core.js index 11e9d0b45..05db494e6 100644 --- a/tests/unit/effects/effects_core.js +++ b/tests/unit/effects/effects_core.js @@ -217,10 +217,7 @@ asyncTest( "animateClass: css and class changes during animation are not lost (# $.each( $.effects.effect, function( effect ) { module( "effects." + effect ); - // puff and size are defined inside scale - if ( effect !== "puff" && effect !== "size" ) { - TestHelpers.testJshint( "effect-" + effect ); - } + TestHelpers.testJshint( "effect-" + effect ); if ( effect === "transfer" ) { return;