describe('when a directory is requested', function () {
      it('correctly serves the first index file that exists', function () {
        return callApp(app, '/').then(function (conn) {
          expect(conn.status).toEqual(200);
          expect(conn.responseText).toEqual(contents);