var tokens = require('./setupenv')
var request = require('supertest')
var app = require('../app')
var log = require('winston')
let chai = require('chai');
let chaiHttp = require('chai-http');
let should = chai.should();
chai.use(chaiHttp);

describe('Users', () => {
  describe('Lookup', () => {
    it('finds user 100', (done) => {
      chai.request(app)
        .get('/user/100')
        .set('Content-Type', 'application/json')
        .set('Accept', 'application/json')
        .send({
        })
        .end((err, res) => {
          res.should.have.status(200);
          done();
        });
    })
  })
  describe('Get user with stuff', () => {
  if('This user should have 2 cases, 5 methods, 2 organizations', (done) => {
    chai.request(app)
      .get('/user/25')
      .set('Content-Type', 'application/json')
      .set('Accept', 'application/json')
      .end((err, res) => {
          res.body.OK.should.be.equal.to('true')
          res.should.have.status(200);
          let user = res.body.data;
          user.cases.should.have.lengthOf(2);
          user.methods.should.have.lengthOf(5);
          user.organizations.should.have.lengthOf(2);
      });
  });
})

})

@@ -1153,24 +1153,41 @@
 engthOf(2);%0A
+          done()%0A
       %7D);%0A  

add done() to test