mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tests: Fix tests with the Git Core build
jQuery PR jquery/jquery#5452 removed special handling of boolean attributes. Thankfully, this only broke a single jQuery UI test. Closes gh-2220
This commit is contained in:
parent
0318a27e19
commit
802642c373
@ -41,7 +41,8 @@ QUnit.test( "enable / disable", function( assert ) {
|
||||
|
||||
element.selectmenu( "disable" );
|
||||
assert.ok( element.selectmenu( "option", "disabled" ), "disable: widget option" );
|
||||
assert.equal( element.attr( "disabled" ), "disabled", "disable: native select disabled" );
|
||||
assert.ok( [ "disabled", "" ].indexOf( element.attr( "disabled" ) ) !== -1,
|
||||
"disable: native select disabled" );
|
||||
assert.equal( button.attr( "aria-disabled" ), "true", "disable: button ARIA" );
|
||||
assert.equal( button.attr( "tabindex" ), -1, "disable: button tabindex" );
|
||||
assert.equal( menu.attr( "aria-disabled" ), "true", "disable: menu ARIA" );
|
||||
|
Loading…
Reference in New Issue
Block a user