diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-01 13:35:04 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-01 13:35:04 +0100 |
commit | 6d20d1463b7f5bd858a50247d6424af934c1ccee (patch) | |
tree | 09da127cc2288327bb874ed7367ab3221b42b8e8 /tests/unit/progressbar/progressbar_options.js | |
parent | 59f2e88c58f0018f22b1c3be4bb5e9549a944381 (diff) | |
parent | 09732dace8156a10065e29d9cb0e4007fa079d8f (diff) | |
download | jquery-ui-6d20d1463b7f5bd858a50247d6424af934c1ccee.tar.gz jquery-ui-6d20d1463b7f5bd858a50247d6424af934c1ccee.zip |
Merge branch 'master' into data-naming
Diffstat (limited to 'tests/unit/progressbar/progressbar_options.js')
-rw-r--r-- | tests/unit/progressbar/progressbar_options.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/progressbar/progressbar_options.js b/tests/unit/progressbar/progressbar_options.js index 230c939ab..815606ec6 100644 --- a/tests/unit/progressbar/progressbar_options.js +++ b/tests/unit/progressbar/progressbar_options.js @@ -7,7 +7,7 @@ module("progressbar: options"); test("{ value : 0 }, default", function() { $("#progressbar").progressbar(); - same( 0, $("#progressbar").progressbar("value") ); + deepEqual( 0, $("#progressbar").progressbar("value") ); }); // Ticket #7231 - valueDiv should be hidden when value is at 0% @@ -31,21 +31,21 @@ test("{ value : 5 }", function() { $("#progressbar").progressbar({ value: 5 }); - same( 5, $("#progressbar").progressbar("value") ); + deepEqual( 5, $("#progressbar").progressbar("value") ); }); test("{ value : -5 }", function() { $("#progressbar").progressbar({ value: -5 }); - same( 0, $("#progressbar").progressbar("value") ); + deepEqual( 0, $("#progressbar").progressbar("value") ); }); test("{ value : 105 }", function() { $("#progressbar").progressbar({ value: 105 }); - same( 100, $("#progressbar").progressbar("value") ); + deepEqual( 100, $("#progressbar").progressbar("value") ); }); test("{ max : 5, value : 10 }", function() { @@ -53,7 +53,7 @@ test("{ max : 5, value : 10 }", function() { max: 5, value: 10 }); - same( 5, $("#progressbar").progressbar("value") ); + deepEqual( 5, $("#progressbar").progressbar("value") ); }); })(jQuery); |