ejs.js
This file
Path
test/acceptance/ejs.js
17 lines · 505 bytes · JavaScript
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 2027b87 point at it.
fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87
lines 1–17why, one step back12var request = require('supertest')3 , app = require('../../examples/ejs');45describe('ejs', function(){6 describe('GET /', function(){7 it('should respond with html', function(done){8 request(app)9 .get('/')10 .expect('Content-Type', 'text/html; charset=utf-8')11 .expect(/<li>tobi <tobi@learnboost\.com><\/li>/)12 .expect(/<li>loki <loki@learnboost\.com><\/li>/)13 .expect(/<li>jane <jane@learnboost\.com><\/li>/)14 .expect(200, done)15 })16 })17})