diff options
Diffstat (limited to 'src/fx/fxTest.js')
-rw-r--r-- | src/fx/fxTest.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fx/fxTest.js b/src/fx/fxTest.js index 23de82ac4..f7fb865f0 100644 --- a/src/fx/fxTest.js +++ b/src/fx/fxTest.js @@ -1,17 +1,18 @@ module("fx"); -test("animate(Hash, Object, Function) - assert that animate doesn't modify its arguments", function() { +test("animate(Hash, Object, Function)", function() { expect(1); stop(); var hash = {opacity: 'show'}; var hashCopy = $.extend({}, hash); - $('#foo').animate(hash, 'fast', function() { + $('#foo').animate(hash, 0, function() { ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' ); start(); }); }); test("toggle()", function() { + expect(3); var x = $("#foo"); ok( x.is(":visible") ); x.toggle(); |