From: Jörn Zaefferer Date: Sun, 25 Jan 2015 14:39:06 +0000 (+0100) Subject: Tests: Fix missing wrappers in progressbar tests X-Git-Tag: 1.12.0-beta.1~424 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9a28197f8934ee070f3bd1c392b0b2cca5eb95eb;p=jquery-ui.git Tests: Fix missing wrappers in progressbar tests --- diff --git a/tests/unit/progressbar/progressbar_core.js b/tests/unit/progressbar/progressbar_core.js index 8f4a138ce..5b9aadc3d 100644 --- a/tests/unit/progressbar/progressbar_core.js +++ b/tests/unit/progressbar/progressbar_core.js @@ -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 ) ); diff --git a/tests/unit/progressbar/progressbar_events.js b/tests/unit/progressbar/progressbar_events.js index 95effda75..ed3da169a 100644 --- a/tests/unit/progressbar/progressbar_events.js +++ b/tests/unit/progressbar/progressbar_events.js @@ -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 ) ); diff --git a/tests/unit/progressbar/progressbar_methods.js b/tests/unit/progressbar/progressbar_methods.js index 004eacf90..4439b6078 100644 --- a/tests/unit/progressbar/progressbar_methods.js +++ b/tests/unit/progressbar/progressbar_methods.js @@ -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 ) ); diff --git a/tests/unit/progressbar/progressbar_options.js b/tests/unit/progressbar/progressbar_options.js index bc0b5d00d..739c97bd9 100644 --- a/tests/unit/progressbar/progressbar_options.js +++ b/tests/unit/progressbar/progressbar_options.js @@ -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 ) );