aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/scrollspy.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2013-09-18 19:50:02 +0300
committerXhmikosR <[email protected]>2013-12-08 12:44:14 +0200
commiteca8ff380388c1187bc2c86e0ae7fa80aa33111e (patch)
tree1169002b77366007abd0be9efff9bf4b85a5b894 /js/tests/unit/scrollspy.js
parented63dfd8d301debf35bc93d155dff4527c94388d (diff)
downloadbootstrap-eca8ff380388c1187bc2c86e0ae7fa80aa33111e.tar.xz
bootstrap-eca8ff380388c1187bc2c86e0ae7fa80aa33111e.zip
Use single quotes consistently.
Diffstat (limited to 'js/tests/unit/scrollspy.js')
-rw-r--r--js/tests/unit/scrollspy.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/tests/unit/scrollspy.js b/js/tests/unit/scrollspy.js
index 1b546a579..8ebf3dcdf 100644
--- a/js/tests/unit/scrollspy.js
+++ b/js/tests/unit/scrollspy.js
@@ -1,22 +1,22 @@
$(function () {
- module("scrollspy")
+ module('scrollspy')
- test("should provide no conflict", function () {
+ test('should provide no conflict', function () {
var scrollspy = $.fn.scrollspy.noConflict()
ok(!$.fn.scrollspy, 'scrollspy was set back to undefined (org value)')
$.fn.scrollspy = scrollspy
})
- test("should be defined on jquery object", function () {
+ test('should be defined on jquery object', function () {
ok($(document.body).scrollspy, 'scrollspy method is defined')
})
- test("should return element", function () {
+ test('should return element', function () {
ok($(document.body).scrollspy()[0] == document.body, 'document.body returned')
})
- test("should switch active class on scroll", function () {
+ test('should switch active class on scroll', function () {
var sectionHTML = '<div id="masthead"></div>'
, $section = $(sectionHTML).append('#qunit-fixture')
, topbarHTML = '<div class="topbar">'