Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. it('should respond to a GET request at /api/keywords/', function (done) {
  2. request.get(
  3. {
  4. 'url': 'http://localhost:8080/api/keywords/',
  5. 'json': true
  6. },
  7. function (err, res, body) {
  8. expect(res.statusCode).toBe(200);
  9. expect(body.foo).toEqual('bar');
  10. done();
  11. });
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement