diff options
author | David Serduke <davidserduke@gmail.com> | 2007-12-20 20:40:20 +0000 |
---|---|---|
committer | David Serduke <davidserduke@gmail.com> | 2007-12-20 20:40:20 +0000 |
commit | 50c40add5ab530cefbdd09dbdcb641f22b9dc26c (patch) | |
tree | 9f388acbc9b8ec0ce58cafc849823973bb42efba /test/unit/fx.js | |
parent | bdd6aca209fe79bc6a085693008436cce37d5b31 (diff) | |
download | jquery-50c40add5ab530cefbdd09dbdcb641f22b9dc26c.tar.gz jquery-50c40add5ab530cefbdd09dbdcb641f22b9dc26c.zip |
Fixed a couple problems found in the test suite. First, IE doesn't like it when text nodes were trying to duplicate their events in clone, so don't do text nodes (that shouldn't have events anyway). Also the fx module was freezing from a recent update that wasn't quite finished.
Diffstat (limited to 'test/unit/fx.js')
-rw-r--r-- | test/unit/fx.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/fx.js b/test/unit/fx.js index 5f6ad3993..1204e261c 100644 --- a/test/unit/fx.js +++ b/test/unit/fx.js @@ -1,12 +1,13 @@ module("fx"); test("animate(Hash, Object, Function)", function() { - expect(3); + expect(1); stop(); var hash = {opacity: 'show'}; var hashCopy = $.extend({}, hash); $('#foo').animate(hash, 0, function() { ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' ); + start(); }); }); |