Made it so that you can bind a single function to multiple .live() selectors. Additio...
[jquery.git] / test / unit / fx.js
index 2ee3d30..28fb92d 100644 (file)
@@ -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();