diff options
author | Richard Worth <rdworth@gmail.com> | 2009-02-02 13:23:51 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-02-02 13:23:51 +0000 |
commit | 7ed45e68de02df14b72d536aa719a442ed116dfa (patch) | |
tree | 109fb4a1253a76bc23f4bab8d5a85a24810f4db4 /tests/unit/draggable/draggable_options.js | |
parent | 4ad531044e6da304f72e80a63db66fcf8b13d8e5 (diff) | |
download | jquery-ui-7ed45e68de02df14b72d536aa719a442ed116dfa.tar.gz jquery-ui-7ed45e68de02df14b72d536aa719a442ed116dfa.zip |
unit tests: minor updates
Diffstat (limited to 'tests/unit/draggable/draggable_options.js')
-rw-r--r-- | tests/unit/draggable/draggable_options.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/draggable_options.js index 5703c90d4..9fc4f4de2 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/draggable_options.js @@ -28,11 +28,15 @@ test("{ addClasses: true }, default", function() { el = $("<div></div>").draggable({ addClasses: true }); ok(el.is(".ui-draggable"), "'ui-draggable' class added"); + + el.draggable("destroy"); }); test("{ addClasses: false }", function() { el = $("<div></div>").draggable({ addClasses: false }); ok(!el.is(".ui-draggable"), "'ui-draggable' class not added"); + + el.draggable("destroy"); }); test("{ appendTo: 'parent' }, default", function() { |