module( "spinner: core" );
-// TODO: move to spinner_methods
-test( "destroy", function() {
- expect( 1 );
- // TODO: is this cheat still needed?
- // cheat a bit to get IE6 to pass
- $( "#spin" ).val( 0 );
- domEqual( "#spin", function() {
- $( "#spin" ).spinner().spinner( "destroy" );
- });
-});
-
test( "keydown UP on input, increases value not greater than max", function() {
expect( 5 );
var element = $( "#spin" ).spinner({
module( "spinner: methods" );
+test( "destroy", function() {
+ expect( 1 );
+ domEqual( "#spin", function() {
+ $( "#spin" ).spinner().spinner( "destroy" );
+ });
+});
+
test( "disable", function() {
expect( 14 );
var element = $( "#spin" ).spinner({ value: 2 }),