mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 05:50:43 -07:00
test: case for "." path handling
This commit is contained in:
@@ -35,7 +35,7 @@ describe('express()', function () {
|
||||
it('should respect express views(string)', function (done) {
|
||||
app.set('views', views)
|
||||
request(app).get('/include/bar')
|
||||
.expect('bar')
|
||||
.expect('BAR')
|
||||
.expect(200, done)
|
||||
})
|
||||
it('should pass error when file not found', function (done) {
|
||||
@@ -63,7 +63,7 @@ describe('express()', function () {
|
||||
it('should respect express views (Array) when lookup', function (done) {
|
||||
app.set('views', [views, partials])
|
||||
request(app).get('/include/bar')
|
||||
.expect('bar')
|
||||
.expect('BAR')
|
||||
.expect(200, done)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user