feature(util) render: add test

This commit is contained in:
coderaiser 2014-05-21 08:56:46 -04:00
parent b6d8b1a297
commit fdc6509c73

View file

@ -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);
});
});
});
})();