diff options
Diffstat (limited to 'tests/unit/accordion/helper.js')
-rw-r--r-- | tests/unit/accordion/helper.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/unit/accordion/helper.js b/tests/unit/accordion/helper.js index 80bfc1854..3211765af 100644 --- a/tests/unit/accordion/helper.js +++ b/tests/unit/accordion/helper.js @@ -12,14 +12,15 @@ return $.extend( helper, { } ); }, - setupTeardown: function() { + beforeAfterEach: function() { var animate = $.ui.accordion.prototype.options.animate; return { - setup: function() { + beforeEach: function() { $.ui.accordion.prototype.options.animate = false; }, - teardown: function() { + afterEach: function() { $.ui.accordion.prototype.options.animate = animate; + return helper.moduleAfterEach.apply( this, arguments ); } }; }, |