aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/spec/fx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec/fx.js b/spec/spec/fx.js
index c985df1..cca5f84 100644
--- a/spec/spec/fx.js
+++ b/spec/spec/fx.js
@@ -170,7 +170,7 @@ describe('FX', function() {
describe('afterAll()', function() {
it('adds a callback which is called when all animations are finished', function(done) {
- fx.start().after(function(){
+ fx.animate(150).animate(125).start().afterAll(function(){
expect(fx.pos).toBe(1)
expect(fx.situations.length).toBe(0)
done()