Skip to content

Commit

Permalink
Prepare for 2.0.1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelax committed Oct 19, 2016
1 parent e07e981 commit 2026549
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
10 changes: 8 additions & 2 deletions History.md
Original file line number Diff line number Diff line change
@@ -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
===================

Expand Down
10 changes: 5 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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(){
Expand Down

0 comments on commit 2026549

Please sign in to comment.