diff options
| author | XhmikosR <[email protected]> | 2013-09-18 19:50:02 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2013-12-08 12:44:14 +0200 |
| commit | eca8ff380388c1187bc2c86e0ae7fa80aa33111e (patch) | |
| tree | 1169002b77366007abd0be9efff9bf4b85a5b894 /js/tests/unit/affix.js | |
| parent | ed63dfd8d301debf35bc93d155dff4527c94388d (diff) | |
| download | bootstrap-eca8ff380388c1187bc2c86e0ae7fa80aa33111e.tar.xz bootstrap-eca8ff380388c1187bc2c86e0ae7fa80aa33111e.zip | |
Use single quotes consistently.
Diffstat (limited to 'js/tests/unit/affix.js')
| -rw-r--r-- | js/tests/unit/affix.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/tests/unit/affix.js b/js/tests/unit/affix.js index b74bc51e4..6085a141e 100644 --- a/js/tests/unit/affix.js +++ b/js/tests/unit/affix.js @@ -1,22 +1,22 @@ $(function () { - module("affix") + module('affix') - test("should provide no conflict", function () { + test('should provide no conflict', function () { var affix = $.fn.affix.noConflict() ok(!$.fn.affix, 'affix was set back to undefined (org value)') $.fn.affix = affix }) - test("should be defined on jquery object", function () { + test('should be defined on jquery object', function () { ok($(document.body).affix, 'affix method is defined') }) - test("should return element", function () { + test('should return element', function () { ok($(document.body).affix()[0] == document.body, 'document.body returned') }) - test("should exit early if element is not visible", function () { + test('should exit early if element is not visible', function () { var $affix = $('<div style="display: none"></div>').affix() $affix.data('bs.affix').checkPosition() ok(!$affix.hasClass('affix'), 'affix class was not added') |
