diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-03-14 15:07:06 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-03-14 15:07:06 -0400 |
commit | 23771d38ba9d2663f6db0243c8e992dc7ff6844a (patch) | |
tree | 6345e5bf4901f23f2d0bf59b7a1d37743db37921 /tests/unit/spinner/spinner_methods.js | |
parent | 38fce3f30478bcfce8ea837d850f63b5560d605a (diff) | |
download | jquery-ui-23771d38ba9d2663f6db0243c8e992dc7ff6844a.tar.gz jquery-ui-23771d38ba9d2663f6db0243c8e992dc7ff6844a.zip |
Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
This reverts commit 4d67f4f34908a50ef88f95df4103ee001b777e45.
Diffstat (limited to 'tests/unit/spinner/spinner_methods.js')
-rw-r--r-- | tests/unit/spinner/spinner_methods.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unit/spinner/spinner_methods.js b/tests/unit/spinner/spinner_methods.js index 4f44a73ae..af872f257 100644 --- a/tests/unit/spinner/spinner_methods.js +++ b/tests/unit/spinner/spinner_methods.js @@ -12,7 +12,7 @@ test( "destroy", function() { }); test( "disable", function() { - expect( 16 ); + expect( 14 ); var element = $( "#spin" ).val( 2 ).spinner(), wrapper = $( "#spin" ).spinner( "widget" ); @@ -21,8 +21,6 @@ test( "disable", function() { element.spinner( "disable" ); ok( wrapper.hasClass( "ui-spinner-disabled" ), "after: wrapper has ui-spinner-disabled class" ); - ok( wrapper.hasClass( "ui-state-disabled" ), "after: wrapper has ui-state-disabled class" ); - ok( !wrapper.attr( "aria-disabled" ), "after: wrapper does not have aria-disabled attr" ); ok( element.is( ":disabled"), "after: input has disabled attribute" ); simulateKeyDownUp( element, $.ui.keyCode.UP ); |