aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-05-21 12:47:15 -0400
committerScott González <scott.gonzalez@gmail.com>2012-05-21 12:47:15 -0400
commite6f21410ff4e2e88ed5f44c872451e8030898178 (patch)
treefaf2eafd3157e97dfec041ace150da2cb68d0c2f /tests/unit
parent9ac52deaa271d3162e3d24724faf03f0b92ba3df (diff)
downloadjquery-ui-e6f21410ff4e2e88ed5f44c872451e8030898178.tar.gz
jquery-ui-e6f21410ff4e2e88ed5f44c872451e8030898178.zip
Don't use :checkbox selector.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/button/button_tickets.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/button/button_tickets.js b/tests/unit/button/button_tickets.js
index 43bfdb833..fe0d82fd6 100644
--- a/tests/unit/button/button_tickets.js
+++ b/tests/unit/button/button_tickets.js
@@ -30,23 +30,23 @@ test( "#6711 Checkbox/Radiobutton do not Show Focused State when using Keyboard
test( "#7092 - button creation that requires a matching label does not find label in all cases", function() {
var group = $( "<span><label for='t7092a'></label><input type='checkbox' id='t7092a'></span>" );
- group.find( "input:checkbox" ).button();
+ group.find( "input[type=checkbox]" ).button();
ok( group.find( "label" ).is( ".ui-button" ) );
group = $( "<input type='checkbox' id='t7092b'><label for='t7092b'></label>" );
- group.filter( "input:checkbox" ).button();
+ group.filter( "input[type=checkbox]" ).button();
ok( group.filter( "label" ).is( ".ui-button" ) );
group = $( "<span><input type='checkbox' id='t7092c'></span><label for='t7092c'></label>" );
- group.find( "input:checkbox" ).button();
+ group.find( "input[type=checkbox]" ).button();
ok( group.filter( "label" ).is( ".ui-button" ) );
group = $( "<span><input type='checkbox' id='t7092d'></span><span><label for='t7092d'></label></span>" );
- group.find( "input:checkbox" ).button();
+ group.find( "input[type=checkbox]" ).button();
ok( group.find( "label" ).is( ".ui-button" ) );
group = $( "<input type='checkbox' id='t7092e'><span><label for='t7092e'></label></span>" );
- group.filter( "input:checkbox" ).button();
+ group.filter( "input[type=checkbox]" ).button();
ok( group.find( "label" ).is( ".ui-button" ) );
});