diff --git a/tests/unit/accordion/accordion.html b/tests/unit/accordion/accordion.html index 3badebda9..9be9ee5c1 100644 --- a/tests/unit/accordion/accordion.html +++ b/tests/unit/accordion/accordion.html @@ -55,7 +55,7 @@
You've seen it coming!
@@ -65,7 +65,7 @@
your bear, you have to admit it!
@@ -76,7 +76,7 @@
get two for three beer.
diff --git a/tests/unit/accordion/accordion_methods.js b/tests/unit/accordion/accordion_methods.js index f2ed8dadf..85f037a55 100644 --- a/tests/unit/accordion/accordion_methods.js +++ b/tests/unit/accordion/accordion_methods.js @@ -31,7 +31,7 @@ test("init", function() { }); test("destroy", function() { - var beforeHtml = $("#list1").parent().html(); + var beforeHtml = $("#list1").find("div").css("font-style", "normal").end().parent().html(); var afterHtml = $("#list1").accordion().accordion("destroy").parent().html(); equal( afterHtml, beforeHtml ); });