X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Feffects.js;h=74b336f1f9aea35eae4650e8cc647ad4ff4b5d87;hb=86cf820d36341842e10084a97d2ecf87393336f3;hp=aca9263840d92d2bdfd1a21be5c77944d7f85aad;hpb=efaf375e56920c9699c3d4ef09fb9171352aa8bb;p=jquery.git diff --git a/test/unit/effects.js b/test/unit/effects.js index aca9263..74b336f 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -130,41 +130,6 @@ test("show(Number) - other displays", function() { }); }); - - -// Supports #7397 -test("Persist correct display value", function() { - expect(4); - QUnit.reset(); - stop(); - - // #show-tests * is set display: none in CSS - jQuery("#main").append('
'); - - var $span = jQuery("#show-tests span"), - orig = $span.css("display"), - num = 0; - - equal(orig, "none", "Expecting to start at display: none"); - - $span.text('Saving...').fadeIn(100, function() { - - equal($span.css("display"), "block", "Expecting display: block"); - - $span.text('Saved!').fadeOut(100, function () { - - equal($span.css("display"), "none", "Expecting display: none"); - - $span.text('Saving...').fadeIn(100, function() { - - equal($span.css("display"), "block", "Expecting display: block"); - - start(); - }); - }); - }); -}); - test("animate(Hash, Object, Function)", function() { expect(1); stop();