aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/spinner/spinner_methods.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-08-07 13:05:04 -0400
committerScott González <scott.gonzalez@gmail.com>2011-08-07 13:05:04 -0400
commitb8976207f323054b49781b94e170d2e951e0c211 (patch)
treeabfd5fde84cc48315d82b14d9a00f1f648b21cce /tests/unit/spinner/spinner_methods.js
parentca2211f74851a066829464e78f50c90b49eac2dd (diff)
downloadjquery-ui-b8976207f323054b49781b94e170d2e951e0c211.tar.gz
jquery-ui-b8976207f323054b49781b94e170d2e951e0c211.zip
Spinner tests: Removed IE 6 hack in destroy test.
Diffstat (limited to 'tests/unit/spinner/spinner_methods.js')
-rw-r--r--tests/unit/spinner/spinner_methods.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unit/spinner/spinner_methods.js b/tests/unit/spinner/spinner_methods.js
index e12432a76..29494f9cc 100644
--- a/tests/unit/spinner/spinner_methods.js
+++ b/tests/unit/spinner/spinner_methods.js
@@ -2,6 +2,13 @@
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 }),