info@54: $(function () { info@54: info@54: module("carousel") info@54: info@54: test("should provide no conflict", function () { info@54: var carousel = $.fn.carousel.noConflict() info@54: ok(!$.fn.carousel, 'carousel was set back to undefined (org value)') info@54: $.fn.carousel = carousel info@54: }) info@54: info@54: test("should be defined on jquery object", function () { info@54: ok($(document.body).carousel, 'carousel method is defined') info@54: }) info@54: info@54: test("should return element", function () { info@54: ok($(document.body).carousel()[0] == document.body, 'document.body returned') info@54: }) info@54: info@54: test("should not fire sliden when slide is prevented", function () { info@54: $.support.transition = false info@54: stop() info@54: $('