aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2010-03-17 13:16:40 +0000
committerRichard Worth <rdworth@gmail.com>2010-03-17 13:16:40 +0000
commit92fe5e922538942427045d055ddf2607e9122ea8 (patch)
tree36e874ef3248798c1162126e9fb6ef1013f59d3a /tests
parent2a8271c7016be902aed15cd2ccadc23164159a8d (diff)
downloadjquery-ui-92fe5e922538942427045d055ddf2607e9122ea8.tar.gz
jquery-ui-92fe5e922538942427045d055ddf2607e9122ea8.zip
Fixed #5362 - Buttonset class should be ui-buttonset because buttonset is one word
Diffstat (limited to 'tests')
-rw-r--r--tests/static/button/default.html2
-rw-r--r--tests/unit/button/button_core.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/static/button/default.html b/tests/static/button/default.html
index aa78b3466..a2c35a4ad 100644
--- a/tests/static/button/default.html
+++ b/tests/static/button/default.html
@@ -110,7 +110,7 @@
<h2>Button Sets</h2>
- <div class="ui-button-set">
+ <div class="ui-buttonset">
<button class="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-left"><span class="ui-button-text">Simple button</span></button>
<button class="ui-button ui-button-text-only ui-widget ui-state-default"><span class="ui-button-text">Simple button</span></button>
<button class="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-right"><span class="ui-button-text">Simple button</span></button>
diff --git a/tests/unit/button/button_core.js b/tests/unit/button/button_core.js
index 4569737a4..5b30aa860 100644
--- a/tests/unit/button/button_core.js
+++ b/tests/unit/button/button_core.js
@@ -59,7 +59,7 @@ test("input type submit, don't create child elements", function() {
test("buttonset", function() {
var set = $("#radio1").buttonset();
- ok( set.is(".ui-button-set") );
+ ok( set.is(".ui-buttonset") );
same( set.children(".ui-button").length, 3 );
same( set.children("input:radio.ui-helper-hidden-accessible").length, 3 );
ok( set.children("label:eq(0)").is(".ui-button.ui-corner-left:not(.ui-corner-all)") );