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 () {