fix: crash when express views set to string

This commit is contained in:
harttle
2016-11-06 16:22:52 +08:00
parent e9ff3d916d
commit a82e50e1ab
5 changed files with 66 additions and 67 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ describe('util/underscore', function() {
});
});
describe('.echo()', function(){
it('should be transparent when called', function() {
it('should be transparent', function() {
expect(_.echo('foo')('bar')).to.equal('bar');
});
it('should log the arguments', function() {