diff options
Diffstat (limited to 'test/unit/fx.js')
-rw-r--r-- | test/unit/fx.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/unit/fx.js b/test/unit/fx.js index c47fe558f..c2bf6b43f 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); |