diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-07-29 05:38:24 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-07-29 05:38:24 -0400 |
commit | f00c03139bf83e573b60376a146ae4584c5f5d17 (patch) | |
tree | 4eca10b09d8e6a040a5ee168e95e5c8ee97d574a /tests/unit | |
parent | ee1f5b54de149e10444ba7a3c4084173e851a7a2 (diff) | |
download | jquery-ui-f00c03139bf83e573b60376a146ae4584c5f5d17.tar.gz jquery-ui-f00c03139bf83e573b60376a146ae4584c5f5d17.zip |
Progressbar: cleanup.
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/progressbar/progressbar_options.js | 14 |
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); |