fix: travis

This commit is contained in:
harttle
2018-08-27 23:49:11 +08:00
parent 5378f2709b
commit c3c57a560b
9 changed files with 55 additions and 60 deletions
-4
View File
@@ -24,10 +24,6 @@ describe('#renderFile()', function () {
afterEach(function () {
mock.restore()
})
it('should ignore invalid root option', function () {
var liquid = Liquid({ root: /regex/ })
expect(liquid.options.root).to.deep.equal([])
})
it('should render file', function () {
return expect(engine.renderFile('/root/files/foo.html', {}))
.to.eventually.equal('foo')