aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-07-29 05:38:24 -0400
committerScott González <scott.gonzalez@gmail.com>2010-07-29 05:38:24 -0400
commitf00c03139bf83e573b60376a146ae4584c5f5d17 (patch)
tree4eca10b09d8e6a040a5ee168e95e5c8ee97d574a /tests/unit
parentee1f5b54de149e10444ba7a3c4084173e851a7a2 (diff)
downloadjquery-ui-f00c03139bf83e573b60376a146ae4584c5f5d17.tar.gz
jquery-ui-f00c03139bf83e573b60376a146ae4584c5f5d17.zip
Progressbar: cleanup.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/progressbar/progressbar_options.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/unit/progressbar/progressbar_options.js b/tests/unit/progressbar/progressbar_options.js
index a60b0efaf..269f93779 100644
--- a/tests/unit/progressbar/progressbar_options.js
+++ b/tests/unit/progressbar/progressbar_options.js
@@ -17,4 +17,18 @@ test("{ value : 5 }", function() {
same( 5, $("#progressbar").progressbar("value") );
});
+test("{ value : -5 }", function() {
+ $("#progressbar").progressbar({
+ value: -5
+ });
+ same( 0, $("#progressbar").progressbar("value") );
+});
+
+test("{ value : 105 }", function() {
+ $("#progressbar").progressbar({
+ value: 105
+ });
+ same( 100, $("#progressbar").progressbar("value") );
+});
+
})(jQuery);