Skip to content
Permalink
Browse files

Tests: Fix missing wrappers in progressbar tests

  • Loading branch information...
jzaefferer committed Jan 25, 2015
1 parent 60c00cd commit 9a28197f8934ee070f3bd1c392b0b2cca5eb95eb
@@ -1,3 +1,5 @@
(function( $ ) {

module( "progressbar: core" );

test( "markup structure", function() {
@@ -51,3 +53,5 @@ test( "accessibility", function() {
equal( element.attr( "aria-valuemax" ), 150, "aria-valuemax" );
strictEqual( element.attr( "aria-valuenow" ), undefined, "aria-valuenow" );
});

}( jQuery ) );
@@ -1,3 +1,5 @@
(function( $ ) {

module( "progressbar: events" );

test( "create", function() {
@@ -49,3 +51,5 @@ test( "complete", function() {
value = 100;
element.progressbar( "value", value );
});

}( jQuery ) );
@@ -1,3 +1,5 @@
(function( $ ) {

module( "progressbar: methods" );

test( "destroy", function() {
@@ -33,3 +35,5 @@ test( "widget", function() {
equal( widgetElement.length, 1, "one element" );
strictEqual( widgetElement[ 0 ], element[ 0 ], "same element" );
});

}( jQuery ) );
@@ -1,3 +1,5 @@
(function( $ ) {

module( "progressbar: options" );

test( "{ value: 0 }, default", function() {
@@ -70,3 +72,5 @@ test( "change max below value", function() {
equal( $( "#progressbar" ).progressbar( "value" ), 5,
"value constrained at max" );
});

}( jQuery ) );

0 comments on commit 9a28197

Please sign in to comment.
You can’t perform that action at this time.