diff options
| author | Heinrich Fenkart <[email protected]> | 2015-02-26 08:20:42 +0100 |
|---|---|---|
| committer | Heinrich Fenkart <[email protected]> | 2015-02-26 08:20:42 +0100 |
| commit | 3bb05b5fbb6bbf247923a53829b53a27f1b6972b (patch) | |
| tree | fcfb0b6bf9e6b9539a9d2cda4fe68ce3e83e1abe /js/tests/unit/carousel.js | |
| parent | 442d2dd458c6283c7ecb75c6eb7cb4bcee916eab (diff) | |
| download | bootstrap-3bb05b5fbb6bbf247923a53829b53a27f1b6972b.tar.xz bootstrap-3bb05b5fbb6bbf247923a53829b53a27f1b6972b.zip | |
Unit tests: Use new names of module hooks
Refs #15893
Diffstat (limited to 'js/tests/unit/carousel.js')
| -rw-r--r-- | js/tests/unit/carousel.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js index 2044b1408..4cae5e46e 100644 --- a/js/tests/unit/carousel.js +++ b/js/tests/unit/carousel.js @@ -8,11 +8,11 @@ $(function () { }) QUnit.module('carousel', { - setup: function () { + beforeEach: function () { // Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode $.fn.bootstrapCarousel = $.fn.carousel.noConflict() }, - teardown: function () { + afterEach: function () { $.fn.carousel = $.fn.bootstrapCarousel delete $.fn.bootstrapCarousel } |
