Skip to content
Myr

params.js

This file

Path

test/acceptance/params.js

28 lines · 669 bytes · JavaScript

Last changed by

Not known.

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–28why, one step back
1var app = require('../../examples/params/app')
2 , request = require('../support/http');34describe('params', function(){5 describe('GET /', function(){6 it('should respond with instructions', function(done){7 request(app)8 .get('/')9 .expect(/Visit/,done)10 })11 })1213 describe('GET /user/0', function(){14 it('should respond with a user', function(done){15 request(app)16 .get('/user/0')17 .expect(/user tj/,done)18 })19 })2021 describe('GET /users/0-2', function(){22 it('should respond with three users', function(done){23 request(app)24 .get('/users/0-2')25 .expect(/users tj, tobi/,done)26 })27 })28})