1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 12:59:05 +02: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

View File

@@ -8,11 +8,11 @@ $(function () {
})
QUnit.module('affix', {
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.bootstrapAffix = $.fn.affix.noConflict()
},
teardown: function () {
afterEach: function () {
$.fn.affix = $.fn.bootstrapAffix
delete $.fn.bootstrapAffix
}