diff --git a/test/lib/util.js b/test/lib/util.js index 323faee3..c3d6c91f 100644 --- a/test/lib/util.js +++ b/test/lib/util.js @@ -100,6 +100,18 @@ }); + describe('render', function() { + it('should render template with object of params', function() { + var WORD = 'hello world', + word = Util.render('hello {{ name }}', { + name: 'world' + }); + + WORD.should.equal(word); + }); + + }); + }); })();