From: Chris Rebert Date: Mon, 21 Apr 2014 20:08:16 +0000 (-0700) Subject: spelling fixes in Carousel unit tests X-Git-Tag: v3.2.0~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c4afc577253ada54d3ff27965e380a5c9f4e60e;p=thirdparty%2Fbootstrap.git spelling fixes in Carousel unit tests --- diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js index 562e30255f..065354451f 100644 --- a/js/tests/unit/carousel.js +++ b/js/tests/unit/carousel.js @@ -4,11 +4,11 @@ $(function () { test('should provide no conflict', function () { var carousel = $.fn.carousel.noConflict() - ok(!$.fn.carousel, 'carousel was set back to undefined (org value)') + ok(!$.fn.carousel, 'carousel was set back to undefined (orig value)') $.fn.carousel = carousel }) - test('should be defined on jquery object', function () { + test('should be defined on jQuery object', function () { ok($(document.body).carousel, 'carousel method is defined') }) @@ -98,7 +98,7 @@ $(function () { $('[data-slide]').first().click() $('#myCarousel').attr('data-interval', 1860) $('[data-slide]').first().click() - ok($('#myCarousel').data('bs.carousel').options.interval == 1814, 'attributes should be read only on intitialization') + ok($('#myCarousel').data('bs.carousel').options.interval == 1814, 'attributes should be read only on initialization') $('#myCarousel').remove() template.attr('data-interval', false)