title: How to chain http calls with superagent/supertest?
body: <p>I am testing an express API with supertest.</p>
  
  <p>I couldn't get multiple requests in a test case to work with supertest. Below is what i tried in a test case. But the test case seem to only execute the last call which is the HTTP GET. </p>
  
  <pre><code>it('should respond to GET with added items', function(done) {
      var agent = request(app);
      agent.post('/player').type('json').send({name:"Messi"});
      agent.post('/player').type('json').send({name:"Maradona"});
      agent.get('/player').set("Accept", "application/json")
          .expect(200)
          .end(function(err, res) {
              res.body.should.have.property('items').with.lengthOf(2);
              done();
      });
  );
  </code></pre>
  
  <p>Anything i am missing here, or is there another way to chain http calls with superagent?</p>