6
6
[ ![ PRs Welcome] [ prs-badge ]] [ prs ]
7
7
[ ![ MIT License] [ license-badge ]] [ license ]
8
8
9
- HTTP assertions made easy via [ superagent] ( http://github.com/visionmedia /superagent ) .
9
+ HTTP assertions made easy via [ superagent] ( http://github.com/ladjs /superagent ) .
10
10
11
11
## About
12
12
13
13
The motivation with this module is to provide a high-level abstraction for testing
14
- HTTP, while still allowing you to drop down to the [ lower-level API] ( https://visionmedia .github.io/superagent/ ) provided by superagent.
14
+ HTTP, while still allowing you to drop down to the [ lower-level API] ( https://ladjs .github.io/superagent/ ) provided by superagent.
15
15
16
16
## Getting Started
17
17
@@ -98,7 +98,7 @@ describe('GET /user', function() {
98
98
});
99
99
```
100
100
101
- You can use ` auth ` method to pass HTTP username and password in the same way as in the [ superagent] ( http://visionmedia .github.io/superagent/#authentication ) :
101
+ You can use ` auth ` method to pass HTTP username and password in the same way as in the [ superagent] ( http://ladjs .github.io/superagent/#authentication ) :
102
102
103
103
``` js
104
104
describe (' GET /user' , function () {
@@ -257,7 +257,7 @@ describe('request.agent(app)', function() {
257
257
});
258
258
```
259
259
260
- There is another example that is introduced by the file [ agency.js] ( https://github.com/visionmedia /superagent/blob/master/test/node/agency.js )
260
+ There is another example that is introduced by the file [ agency.js] ( https://github.com/ladjs /superagent/blob/master/test/node/agency.js )
261
261
262
262
Here is an example where 2 cookies are set on the request.
263
263
@@ -278,7 +278,7 @@ agent(app)
278
278
279
279
## API
280
280
281
- You may use any [ superagent] ( http://github.com/visionmedia /superagent ) methods,
281
+ You may use any [ superagent] ( http://github.com/ladjs /superagent ) methods,
282
282
including ` .write() ` , ` .pipe() ` etc and perform assertions in the ` .end() ` callback
283
283
for lower-level needs.
284
284
@@ -327,13 +327,13 @@ Inspired by [api-easy](https://github.com/flatiron/api-easy) minus vows coupling
327
327
328
328
MIT
329
329
330
- [ coverage-badge ] : https://img.shields.io/codecov/c/github/visionmedia /supertest.svg
331
- [ coverage ] : https://codecov.io/gh/visionmedia /supertest
332
- [ travis-badge ] : https://travis-ci.org/visionmedia /supertest.svg?branch=master
333
- [ travis ] : https://travis-ci.org/visionmedia /supertest
334
- [ dependencies-badge ] : https://david-dm.org/visionmedia /supertest/status.svg
335
- [ dependencies ] : https://david-dm.org/visionmedia /supertest
330
+ [ coverage-badge ] : https://img.shields.io/codecov/c/github/ladjs /supertest.svg
331
+ [ coverage ] : https://codecov.io/gh/ladjs /supertest
332
+ [ travis-badge ] : https://travis-ci.org/ladjs /supertest.svg?branch=master
333
+ [ travis ] : https://travis-ci.org/ladjs /supertest
334
+ [ dependencies-badge ] : https://david-dm.org/ladjs /supertest/status.svg
335
+ [ dependencies ] : https://david-dm.org/ladjs /supertest
336
336
[ prs-badge ] : https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
337
337
[ prs ] : http://makeapullrequest.com
338
338
[ license-badge ] : https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
339
- [ license ] : https://github.com/visionmedia /supertest/blob/master/LICENSE
339
+ [ license ] : https://github.com/ladjs /supertest/blob/master/LICENSE
0 commit comments