From 20265490a10b246a32f1429ec0cc643187d9b9ef Mon Sep 17 00:00:00 2001 From: Michael Holtzman Date: Wed, 19 Oct 2016 10:57:21 -0400 Subject: [PATCH] Prepare for 2.0.1 release. --- History.md | 10 ++++++++-- Readme.md | 10 +++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/History.md b/History.md index bb5749e3..3a63f522 100644 --- a/History.md +++ b/History.md @@ -1,9 +1,15 @@ +2.0.1 / 2016-10-19 +=================== + + * PR-371 - node v6 - Fix bug to support HEAD method. Add uppercase on method value (thanks @seangarner) + * PR-348 - Handle server not running errors (thanks @santanu-biswas) + 2.0.0 / 2016-07-29 =================== * PR-347 - Update to superagent ^2.0.0 (thanks @saintedlama) - * Proper es6 [promises support](http://visionmedia.github.io/superagent/#request-basics) was added in superagent 2.0.0, which means you can use it - + * Proper es6 [promises support](http://visionmedia.github.io/superagent/#request-basics) was added in superagent 2.0.0, which means you can use it + 1.2.0 / 2016-02-11 =================== diff --git a/Readme.md b/Readme.md index 5beaa6b7..256c0aa6 100644 --- a/Readme.md +++ b/Readme.md @@ -103,7 +103,7 @@ describe('GET /user', function() { }); ``` - Anything you can do with superagent, you can do with supertest - for example multipart file uploads! +Anything you can do with superagent, you can do with supertest - for example multipart file uploads! ```js request(app) @@ -131,10 +131,10 @@ request.get('/').expect('heya', function(err){ Here's an example with mocha that shows how to persist a request and its cookies: ```js -var request = require('supertest') - , should = require('should') - , express = require('express') - , cookieParser = require('cookie-parser'); +var request = require('supertest'); +var should = require('should'); +var express = require('express'); +var cookieParser = require('cookie-parser'); describe('request.agent(app)', function(){