aboutsummaryrefslogtreecommitdiff
path: root/js/tests
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/unit/bootstrap-affix.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/js/tests/unit/bootstrap-affix.js b/js/tests/unit/bootstrap-affix.js
index 2d4419def..bc25df991 100644
--- a/js/tests/unit/bootstrap-affix.js
+++ b/js/tests/unit/bootstrap-affix.js
@@ -16,10 +16,4 @@ $(function () {
ok(!$affix.hasClass('affix'), 'affix class was not added')
})
- test("should add affix class if scrolled to correct position", function () {
- var $affix = $('<div></div>').appendTo('body').affix()
- $('body').trigger('scroll')
- ok($affix.hasClass('affix'), 'element has class affix')
- })
-
}) \ No newline at end of file