diff options
Diffstat (limited to 'js/tests/unit/alert.js')
-rw-r--r-- | js/tests/unit/alert.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/alert.js b/js/tests/unit/alert.js index dc9235c774..75ae2d2ef8 100644 --- a/js/tests/unit/alert.js +++ b/js/tests/unit/alert.js @@ -8,11 +8,11 @@ $(function () { }) QUnit.module('alert', { - 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.bootstrapAlert = $.fn.alert.noConflict() }, - teardown: function () { + afterEach: function () { $.fn.alert = $.fn.bootstrapAlert delete $.fn.bootstrapAlert } |