ejs.js
This file
Path
test/acceptance/ejs.js
20 lines · 648 bytes · JavaScript
Last changed by
Merge branch 'examples'TJ Holowaychukbefore adoptionc492cde
History of this fileTake it
The walk stopped after 200 commits: lines older than 8ac3e80 point at it.
Merge branch 'master' of github.com:visionmedia/expressTJ Holowaychukbefore adoption8ac3e80
lines 1–12why, one step back12var request = require('../support/http')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 .end(function(err, res){11 res.should.have.status(200);12 res.should.have.header('Content-Type', 'text/html; charset=utf-8');Merge branch 'examples'TJ Holowaychukbefore adoptionc492cde
lines 13–15why, one step back13 res.text.should.include('<li>tobi <tobi@learnboost.com></li>');14 res.text.should.include('<li>loki <loki@learnboost.com></li>');15 res.text.should.include('<li>jane <jane@learnboost.com></li>');Merge branch 'master' of github.com:visionmedia/expressTJ Holowaychukbefore adoption8ac3e80
lines 16–20why, one step back16 done();17 });18 })19 })20})