2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Unit tests: Use new names of module hooks

Refs #15893
This commit is contained in:
Heinrich Fenkart
2015-02-26 08:20:42 +01:00
parent 442d2dd458
commit 3bb05b5fbb
11 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -8,11 +8,11 @@ $(function () {
})
QUnit.module('button', {
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.bootstrapButton = $.fn.button.noConflict()
},
teardown: function () {
afterEach: function () {
$.fn.button = $.fn.bootstrapButton
delete $.fn.bootstrapButton
}