aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/bootstrap-scrollspy.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/unit/bootstrap-scrollspy.js')
-rw-r--r--js/tests/unit/bootstrap-scrollspy.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/unit/bootstrap-scrollspy.js b/js/tests/unit/bootstrap-scrollspy.js
index b9b309062..bee46a925 100644
--- a/js/tests/unit/bootstrap-scrollspy.js
+++ b/js/tests/unit/bootstrap-scrollspy.js
@@ -12,7 +12,7 @@ $(function () {
test("should switch active class on scroll", function () {
var sectionHTML = '<div id="masthead"></div>'
- , $section = $(sectionHTML).append('#qunit-runoff')
+ , $section = $(sectionHTML).append('#qunit-fixture')
, topbarHTML ='<div class="topbar">'
+ '<div class="topbar-inner">'
+ '<div class="container">'
@@ -23,9 +23,9 @@ $(function () {
+ '</div>'
+ '</div>'
+ '</div>'
- , $topbar = $(topbarHTML).topbar()
+ , $topbar = $(topbarHTML).scrollspy()
- ok(topbar.find('.active', true)
+ ok($topbar.find('.active', true))
})
}) \ No newline at end of file