aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/tests/unit/carousel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js
index 8657ee00a..5fd875c8c 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 () {