       done()
 
 
-  it 'should send HTTP 200 if email is valid', (done) ->
+  it 'should send HTTP 403 if email is valid but team list is empty', (done) ->
 
     email = generateRandomEmail()
 


        request.post requestParams, (err, res, body) ->
          expect(err).to.not.exist
          expect(res.statusCode).to.be.equal 200
          expect(body).to.be.equal ''
          next()

    ]

    async.series queue, done

{ async
  expect
  request
  checkBongoConnectivity
  generateRandomEmail
  generateRandomString
  generateRandomUsername }          = require '../../../testhelper'
{ testCsrfToken }                   = require '../../../testhelper/handler'
FindTeamHelper                      = require '../../../testhelper/handler/findteamhelper'
{ generateRegisterRequestParams }   = require '../../../testhelper/handler/registerhelper'
{ generateCreateTeamRequestParams } = require '../../../testhelper/handler/teamhelper'


beforeTests = -> before (done) ->

  checkBongoConnectivity done


runTests = -> describe 'server.handlers.findteam', ->
