diff options
author | John Resig <jeresig@gmail.com> | 2009-01-02 23:32:10 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-01-02 23:32:10 +0000 |
commit | b2583a7526c0051f7c5f11a25e0cbaeb13930fc6 (patch) | |
tree | 669f25084d8324eafbd654c66abff81fcc768ca8 /test/unit/fx.js | |
parent | b2552e6ea35a1e00675d70a615d3af83137965df (diff) | |
download | jquery-b2583a7526c0051f7c5f11a25e0cbaeb13930fc6.tar.gz jquery-b2583a7526c0051f7c5f11a25e0cbaeb13930fc6.zip |
Fixed an issue that was introduced by [5743] (which didn't have a test case, either - that has been resolved). This fixed #3739.
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 2ee3d30db..28fb92d2f 100644 --- a/test/unit/fx.js +++ b/test/unit/fx.js @@ -34,6 +34,18 @@ test("animate option (queue === false)", function () { }); }); +test("animate non-element", function(){ + expect(1); + stop(); + + var obj = { test: 0 }; + + jQuery(obj).animate({test: 200}, 200, function(){ + equals( obj.test, 200, "The custom property should be modified." ); + start(); + }); +}); + test("stop()", function() { expect(3); stop(); |