(function( $ ) { module( "progressbar: methods" ); test( "destroy", function() { expect( 1 ); domEqual( "#progressbar", function() { $( "#progressbar" ).progressbar().progressbar( "destroy" ); }); }); test( "disable", function( assert ) { expect( 3 ); var element = $( "#progressbar" ).progressbar().progressbar( "disable" ); assert.hasClasses( element.progressbar( "widget" ), "ui-state-disabled" ); ok( element.progressbar( "widget" ).attr( "aria-disabled" ), "element gets aria-disabled" ); assert.hasClasses( element.progressbar( "widget" ), "ui-progressbar-disabled" ); }); test( "value", function() { expect( 3 ); var element = $( "