change: default extname to "", working for #41

This commit is contained in:
harttle
2017-10-31 00:10:45 +08:00
parent 8241625be4
commit 23e7424f9d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ describe('liquid', function () {
.to.eventually.equal('foo')
})
it('should find files without extname', function () {
var engine = Liquid({root: '/root', extname: ''})
var engine = Liquid({root: '/root'})
return expect(engine.renderFile('/root/files/bar', ctx))
.to.eventually.equal('bar')
})