aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/progressbar/progressbar_options.js
diff options
context:
space:
mode:
authorMarian Rudzynski <mr@impaled.org>2010-11-22 08:49:47 -0500
committerScott González <scott.gonzalez@gmail.com>2010-11-22 08:49:47 -0500
commitd23fe49ae814f677fedd55cddd97768bddeffa12 (patch)
treebab611d61d01e2e177ec6b47c3358fe835807517 /tests/unit/progressbar/progressbar_options.js
parentd69f2ecb1273f382d83b13c349a8c76b17bee2a6 (diff)
downloadjquery-ui-d23fe49ae814f677fedd55cddd97768bddeffa12.tar.gz
jquery-ui-d23fe49ae814f677fedd55cddd97768bddeffa12.zip
Progressbar: Added max option. Fixes #6681 - Progressbar: add max option.
Diffstat (limited to 'tests/unit/progressbar/progressbar_options.js')
-rw-r--r--tests/unit/progressbar/progressbar_options.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/unit/progressbar/progressbar_options.js b/tests/unit/progressbar/progressbar_options.js
index 269f93779..70ad7abab 100644
--- a/tests/unit/progressbar/progressbar_options.js
+++ b/tests/unit/progressbar/progressbar_options.js
@@ -31,4 +31,12 @@ test("{ value : 105 }", function() {
same( 100, $("#progressbar").progressbar("value") );
});
+test("{ max : 5, value : 10 }", function() {
+ $("#progressbar").progressbar({
+ max: 5,
+ value: 10
+ });
+ same( 5, $("#progressbar").progressbar("value") );
+});
+
})(jQuery);