Skip to content
Myr

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 file

Take 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 back
1
2var 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 back
13 res.text.should.include('<li>tobi &lt;tobi@learnboost.com&gt;</li>');
14 res.text.should.include('<li>loki &lt;loki@learnboost.com&gt;</li>');15 res.text.should.include('<li>jane &lt;jane@learnboost.com&gt;</li>');

Merge branch 'master' of github.com:visionmedia/expressTJ Holowaychukbefore adoption8ac3e80

lines 16–20why, one step back
16 done();
17 });18 })19 })20})