shunter
Version:
A Node.js application built to read JSON and translate it into HTML
17 lines (13 loc) • 378 B
JavaScript
;
var assert = require('proclaim');
var helper = require('../../helpers/template.js')();
describe('Dust Filter: lower', function() {
it('Should be able to convert a string to lower case', function(done) {
helper.render('{test|lower}', {
test: 'Hello World'
}, function(err, dom, str) {
assert.strictEqual(str, 'hello world');
done();
});
});
});