+(function( $ ) {
+
module( "progressbar: core" );
test( "markup structure", function() {
equal( element.attr( "aria-valuemax" ), 150, "aria-valuemax" );
strictEqual( element.attr( "aria-valuenow" ), undefined, "aria-valuenow" );
});
+
+}( jQuery ) );
+(function( $ ) {
+
module( "progressbar: events" );
test( "create", function() {
value = 100;
element.progressbar( "value", value );
});
+
+}( jQuery ) );
+(function( $ ) {
+
module( "progressbar: methods" );
test( "destroy", function() {
equal( widgetElement.length, 1, "one element" );
strictEqual( widgetElement[ 0 ], element[ 0 ], "same element" );
});
+
+}( jQuery ) );
+(function( $ ) {
+
module( "progressbar: options" );
test( "{ value: 0 }, default", function() {
equal( $( "#progressbar" ).progressbar( "value" ), 5,
"value constrained at max" );
});
+
+}( jQuery ) );