aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/progressbar
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-06-27 11:32:48 -0400
committerScott González <scott.gonzalez@gmail.com>2012-06-27 11:32:48 -0400
commit5ae668fdb61dd5e516dc599166a31fd46a916bfd (patch)
tree002c635b5410177d4de10c2288230fdd0bbcdbab /tests/unit/progressbar
parent9b6c1c5cdb18d76d9febfc079a1cc439dc3789b3 (diff)
downloadjquery-ui-5ae668fdb61dd5e516dc599166a31fd46a916bfd.tar.gz
jquery-ui-5ae668fdb61dd5e516dc599166a31fd46a916bfd.zip
Tests: Enable QUnit.config.requireExpects.
Diffstat (limited to 'tests/unit/progressbar')
-rw-r--r--tests/unit/progressbar/progressbar_options.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/progressbar/progressbar_options.js b/tests/unit/progressbar/progressbar_options.js
index f050fc5da..fd5988ebd 100644
--- a/tests/unit/progressbar/progressbar_options.js
+++ b/tests/unit/progressbar/progressbar_options.js
@@ -1,6 +1,7 @@
module( "progressbar: options" );
test( "{ value : 0 }, default", function() {
+ expect( 1 );
$( "#progressbar" ).progressbar();
equal( 0, $( "#progressbar" ).progressbar( "value" ) );
});
@@ -28,6 +29,7 @@ test( "value: visibility of valueDiv", function() {
});
test( "{ value : 5 }", function() {
+ expect( 1 );
$( "#progressbar" ).progressbar({
value: 5
});
@@ -35,6 +37,7 @@ test( "{ value : 5 }", function() {
});
test( "{ value : -5 }", function() {
+ expect( 1 );
$( "#progressbar" ).progressbar({
value: -5
});
@@ -42,6 +45,7 @@ test( "{ value : -5 }", function() {
});
test( "{ value : 105 }", function() {
+ expect( 1 );
$( "#progressbar" ).progressbar({
value: 105
});
@@ -49,6 +53,7 @@ test( "{ value : 105 }", function() {
});
test( "{ max : 5, value : 10 }", function() {
+ expect( 1 );
$("#progressbar").progressbar({
max: 5,
value: 10