aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/autocomplete/autocomplete_tickets.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/autocomplete/autocomplete_tickets.js')
-rw-r--r--tests/unit/autocomplete/autocomplete_tickets.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit/autocomplete/autocomplete_tickets.js b/tests/unit/autocomplete/autocomplete_tickets.js
index a67ff7566..bde9faffd 100644
--- a/tests/unit/autocomplete/autocomplete_tickets.js
+++ b/tests/unit/autocomplete/autocomplete_tickets.js
@@ -3,7 +3,11 @@
*/
(function($) {
-module("autocomplete: tickets");
+module("autocomplete: tickets", {
+ teardown: function() {
+ $( ":ui-autocomplete" ).autocomplete( "destroy" );
+ }
+});