aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/progressbar/progressbar_options.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/progressbar/progressbar_options.js')
-rw-r--r--tests/unit/progressbar/progressbar_options.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/unit/progressbar/progressbar_options.js b/tests/unit/progressbar/progressbar_options.js
index f6069a5de..a60b0efaf 100644
--- a/tests/unit/progressbar/progressbar_options.js
+++ b/tests/unit/progressbar/progressbar_options.js
@@ -6,7 +6,15 @@
module("progressbar: options");
test("{ value : 0 }, default", function() {
- ok(false, "missing test - untested code is broken code.");
+ $("#progressbar").progressbar();
+ same( 0, $("#progressbar").progressbar("value") );
+});
+
+test("{ value : 5 }", function() {
+ $("#progressbar").progressbar({
+ value: 5
+ });
+ same( 5, $("#progressbar").progressbar("value") );
});
})(jQuery);