From da13de6af5d4d79781b6d1b1773134f8f7738623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 6 Apr 2014 11:07:22 +0200 Subject: [PATCH] fixed failing unit test --- src/test/specs/gfunc-specs.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/specs/gfunc-specs.js b/src/test/specs/gfunc-specs.js index 325f6a25d19..cf547b52c35 100644 --- a/src/test/specs/gfunc-specs.js +++ b/src/test/specs/gfunc-specs.js @@ -20,8 +20,9 @@ define([ }); it('should return func instance from funcDef', function() { - var func = gfunc.createFuncInstance(func.def); - expect(func).to.be.ok(); + var func = gfunc.createFuncInstance('sum'); + var func2 = gfunc.createFuncInstance(func.def); + expect(func2).to.be.ok(); }); it('func instance should have text representation', function() {