fixed failing unit test

This commit is contained in:
Torkel Ödegaard
2014-04-06 11:07:22 +02:00
parent 4029dc3165
commit da13de6af5
+3 -2
View File
@@ -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() {