X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=test%2Funit%2Ffx.js;fp=test%2Funit%2Ffx.js;h=c2bf6b43ff514ed4ff98c0865e90267c4fc0f54a;hb=3106039aa89410c9abae9947b2520d9c8e62f8f0;hp=c47fe558f3ad29abccfc0597288905a80f25971e;hpb=b0fe380cf89564305646bbd55d1fd7bd210fd591;p=jquery.git diff --git a/test/unit/fx.js b/test/unit/fx.js index c47fe55..c2bf6b4 100644 --- a/test/unit/fx.js +++ b/test/unit/fx.js @@ -67,6 +67,18 @@ test("animate option (queue === false)", function () { }); */ +test("animate with no properties", function() { + expect(1); + + var divs = jQuery("div"), count = 0; + + divs.animate({}, function(){ + count++; + }); + + equals( divs.length, count, "Make sure that callback is called for each element in the set." ); +}); + test("animate duration 0", function() { expect(7);