Commit 9c4afc57 authored by Chris Rebert's avatar Chris Rebert
Browse files

spelling fixes in Carousel unit tests

parent 52b6a321
Showing with 3 additions and 3 deletions
+3 -3
...@@ -4,11 +4,11 @@ $(function () { ...@@ -4,11 +4,11 @@ $(function () {
test('should provide no conflict', function () { test('should provide no conflict', function () {
var carousel = $.fn.carousel.noConflict() 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 $.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') ok($(document.body).carousel, 'carousel method is defined')
}) })
...@@ -98,7 +98,7 @@ $(function () { ...@@ -98,7 +98,7 @@ $(function () {
$('[data-slide]').first().click() $('[data-slide]').first().click()
$('#myCarousel').attr('data-interval', 1860) $('#myCarousel').attr('data-interval', 1860)
$('[data-slide]').first().click() $('[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() $('#myCarousel').remove()
template.attr('data-interval', false) template.attr('data-interval', false)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment