aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/autocomplete/autocomplete_options.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/autocomplete/autocomplete_options.js')
-rw-r--r--tests/unit/autocomplete/autocomplete_options.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit/autocomplete/autocomplete_options.js b/tests/unit/autocomplete/autocomplete_options.js
index bd07ab7eb..67682e22d 100644
--- a/tests/unit/autocomplete/autocomplete_options.js
+++ b/tests/unit/autocomplete/autocomplete_options.js
@@ -3,7 +3,11 @@
*/
(function($) {
-module("autocomplete: options");
+module("autocomplete: options", {
+ teardown: function() {
+ $( ":ui-autocomplete" ).autocomplete( "destroy" );
+ }
+});
/* disabled until autocomplete actually has built-in support for caching