aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-09-15 15:42:41 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-09-15 15:42:41 +0000
commitb9f59aa4cfa597136786d7ea6d61f3332a6e0ef9 (patch)
treead8fe9f3f0f57416572898ed72ececd7b327db3a /tests/unit/dialog
parent1bd910e6d01f636c1c719ad795eb7f5c8e4be543 (diff)
downloadjquery-ui-b9f59aa4cfa597136786d7ea6d61f3332a6e0ef9.tar.gz
jquery-ui-b9f59aa4cfa597136786d7ea6d61f3332a6e0ef9.zip
dialog: methods test cleanup
Diffstat (limited to 'tests/unit/dialog')
-rw-r--r--tests/unit/dialog/dialog_methods.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit/dialog/dialog_methods.js b/tests/unit/dialog/dialog_methods.js
index 5748a27da..e6ffb14d6 100644
--- a/tests/unit/dialog/dialog_methods.js
+++ b/tests/unit/dialog/dialog_methods.js
@@ -3,7 +3,11 @@
*/
(function($) {
-module("dialog: methods");
+module("dialog: methods", {
+ teardown: function() {
+ $("body>.ui-dialog").remove();
+ }
+});
test("init", function() {
expect(7);