title: How to test an external HTTP resource using mocha and requestify
body: <p>I am trying to do a simple test of an external HTTP resource using mocha.  Here is my code:</p>
  
  <pre><code>describe('bing.com', function() {
      it('should return 200 for a GET request', function() {
          var requestify = require('requestify');
  
          requestify.get('http://bing.com')
              .then(function(response) {
                  // Get the response body (JSON parsed or jQuery object for XMLs)
                  console.log(response.getBody());
                  done();
              });
      });
  });
  </code></pre>
  
  <p>The test just says passed but my <code>console.log</code> call is never shown.  Is mocha completing before the http response is received? </p>