From: Chris Rebert Date: Thu, 1 May 2014 20:37:44 +0000 (-0700) Subject: make new Carousel tests compatible with noConflict mode X-Git-Tag: v3.2.0~208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9edf28c5f8607a217ec2b7945ca98f66938b623;p=thirdparty%2Fbootstrap.git make new Carousel tests compatible with noConflict mode --- diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js index 8657ee00a8..5fd875c8cb 100644 --- a/js/tests/unit/carousel.js +++ b/js/tests/unit/carousel.js @@ -84,7 +84,7 @@ $(function () { ok(e.direction) ok(e.direction === 'right' || e.direction === 'left') start() - }).carousel('next') + }).bootstrapCarousel('next') }) test('should fire slide event with relatedTarget', function () { @@ -112,7 +112,7 @@ $(function () { ok($(e.relatedTarget).hasClass('item')) start() }) - .carousel('next') + .bootstrapCarousel('next') }) test('should set interval from data attribute', 4, function () {