From bc5a753b67c2ce434f64ba4c2f9baa58773604fb Mon Sep 17 00:00:00 2001
From: Chris Rebert <code@rebertia.com>
Date: Thu, 20 Nov 2014 23:26:37 -0800
Subject: [PATCH] fix affix-top unit test to properly clean up after itself

---
 js/tests/unit/affix.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/js/tests/unit/affix.js b/js/tests/unit/affix.js
index 2e82a7dbfb..3152d8d2e4 100644
--- a/js/tests/unit/affix.js
+++ b/js/tests/unit/affix.js
@@ -86,6 +86,7 @@ $(function () {
       })
       .on('affixed-top.bs.affix', function () {
         ok($('#affixTopTarget').hasClass('affix-top'), 'affix-top class applied')
+        $('#padding-offset').remove()
         start()
       })
 
-- 
GitLab