Skip to content
Myr

deps: supertest@1.0.1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent 96b4a76 · Browse files · 4 files+17 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+17 added−9 removed

  • tests:+6 added−6 removed
  • other:+11 added−3 removed

4 files+17 added−9 removed

modified:examples/params/app.js+10 added-2 removed
modified:test/acceptance/mvc.js+2 added-2 removed
33 unmodified lines
34 request(app)35 .put('/pet/3')36 .set('Content-Type', 'application/x-www-form-urlencoded')37 .send({ pet: { name: 'Boots' } })38 .end(function(err, res){38 .expect(302, function (err, res) {39 if (err) return done(err);40 request(app)41 .get('/pet/3/edit')42 .expect(200, /Boots/, done)
54 unmodified lines
97 request(app)98 .put('/user/1')99 .set('Content-Type', 'application/x-www-form-urlencoded')100 .send({ user: { name: 'Tobo' }})101 .end(function(err, res){101 .expect(302, function (err, res) {102 if (err) return done(err);103 request(app)104 .get('/user/1/edit')105 .expect(200, /Tobo/, done)
20 unmodified lines
modified:test/acceptance/params.js+4 added-4 removed
modified:package.json+1 added-1 removed
53 unmodified lines
54 "istanbul": "0.3.9",55 "marked": "0.3.3",56 "mocha": "2.2.5",57 "should": "~5.2.0",58 "supertest": "~0.15.0"58 "supertest": "1.0.1"59 },60 "engines": {61 "node": ">= 0.8.0"62 },
18 unmodified lines