From 9a28197f8934ee070f3bd1c392b0b2cca5eb95eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Sun, 25 Jan 2015 15:39:06 +0100 Subject: [PATCH] Tests: Fix missing wrappers in progressbar tests --- tests/unit/progressbar/progressbar_core.js | 4 ++++ tests/unit/progressbar/progressbar_events.js | 4 ++++ tests/unit/progressbar/progressbar_methods.js | 4 ++++ tests/unit/progressbar/progressbar_options.js | 4 ++++ 4 files changed, 16 insertions(+) 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 ) ); -- 2.39.5