mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-28 22:39:11 +02:00
giant refactor - all spec passing again...
This commit is contained in:
6
js/tests/unit/bootstrap-scrollspy.js
vendored
6
js/tests/unit/bootstrap-scrollspy.js
vendored
@@ -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))
|
||||
})
|
||||
|
||||
})
|
Reference in New Issue
Block a user