From eca8ff380388c1187bc2c86e0ae7fa80aa33111e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 18 Sep 2013 19:50:02 +0300 Subject: Use single quotes consistently. --- js/tests/unit/dropdown.js | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'js/tests/unit/dropdown.js') diff --git a/js/tests/unit/dropdown.js b/js/tests/unit/dropdown.js index 02256965d..c94cf4fca 100644 --- a/js/tests/unit/dropdown.js +++ b/js/tests/unit/dropdown.js @@ -1,23 +1,23 @@ $(function () { - module("dropdowns") + module('dropdowns') - test("should provide no conflict", function () { + test('should provide no conflict', function () { var dropdown = $.fn.dropdown.noConflict() ok(!$.fn.dropdown, 'dropdown was set back to undefined (org value)') $.fn.dropdown = dropdown }) - test("should be defined on jquery object", function () { + test('should be defined on jquery object', function () { ok($(document.body).dropdown, 'dropdown method is defined') }) - test("should return element", function () { - var el = $("
") + test('should return element', function () { + var el = $('
') ok(el.dropdown()[0] === el[0], 'same element returned') }) - test("should not open dropdown if target is disabled", function () { + test('should not open dropdown if target is disabled', function () { var dropdownHTML = '
    ' + '