jquery-ui/tests/unit/progressbar/progressbar_events.js

18 lines
270 B
JavaScript
Raw Normal View History

/*
* progressbar_events.js
*/
(function($) {
module("progressbar: events");
test("change", function() {
2009-09-11 18:47:34 +00:00
expect(1);
$("#progressbar").progressbar({
change: function() {
same( 5, $(this).progressbar("value") );
}
}).progressbar("value", 5);
});
})(jQuery);