summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorRémi Tétreault <tetreault.remi@gmail.com>2016-10-15 20:40:19 -0400
committerRémi Tétreault <tetreault.remi@gmail.com>2016-10-15 20:40:19 -0400
commit97d97fbc5d95f081abdc7e85fc2f47172d6bea73 (patch)
treea2e7f20b407d0e8a29765ff9b306f21a478be723 /spec
parenta7dab3cc5e277a13926aa457e2d7f18585240a41 (diff)
downloadsvg.js-97d97fbc5d95f081abdc7e85fc2f47172d6bea73.tar.gz
svg.js-97d97fbc5d95f081abdc7e85fc2f47172d6bea73.zip
Fix the test of SVG.FX.afterAll
Diffstat (limited to 'spec')
-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()