Skip to content
Myr

ejs.js

This file

Path

test/acceptance/ejs.js

17 lines · 505 bytes · JavaScript

Last changed by

Not known.

History of this file

Take 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 back
1
2var 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 &lt;tobi@learnboost\.com&gt;<\/li>/)12 .expect(/<li>loki &lt;loki@learnboost\.com&gt;<\/li>/)13 .expect(/<li>jane &lt;jane@learnboost\.com&gt;<\/li>/)14 .expect(200, done)15 })16 })17})