fix for failing checkbox radio test

This commit is contained in:
John Bender 2011-09-22 15:38:14 -07:00
parent 5b42fe6ea0
commit 94bc82f64c

View file

@ -80,11 +80,11 @@
},
function(){
ok( $radioBtns.last().attr( 'checked' ) );
ok( $radioBtns.last().prop( 'checked' ) );
ok( $radioBtns.last().siblings( 'label' ).hasClass( 'ui-radio-on' ),
"last input label is an active button" );
ok( !$radioBtns.first().attr( 'checked' ) );
ok( !$radioBtns.first().prop( 'checked' ) );
ok( !$radioBtns.first().siblings( 'label' ).hasClass( 'ui-radio-on' ),
"first input label is not active" );
@ -94,11 +94,11 @@
},
function(){
ok( $radioBtns.first().attr( 'checked' ));
ok( $radioBtns.first().prop( 'checked' ));
ok( $radioBtns.first().siblings( 'label' ).hasClass( 'ui-radio-on' ),
"first input label is an active button" );
ok( !$radioBtns.last().attr( 'checked' ));
ok( !$radioBtns.last().prop( 'checked' ));
ok( !$radioBtns.last().siblings( 'label' ).hasClass( 'ui-radio-on' ),
"last input label is not active" );