               queue.next()
 
           ->
+            # expecting invitation not to be created
             JInvitation.one { email: userFormData.email, groupName: group.slug }, (err, invitation) ->
               expect(err).to.not.exist
               expect(invitation).to.not.exist


      it 'should not receive the invitation', (done) ->

        queue = [

          ->
            JUser.convert client, userFormData, (err) ->
              expect(err).to.not.exist
              queue.next()

          ->
            invitationReq = {
              invitations:[
                { email: userFormData.email }

              queue.next()

          ->
            # expecting invitation to exist
            JInvitation.one { email: userFormData.email, groupName: client.context.group }, (err, invitation) ->
              expect(err).to.not.exist
              expect(invitation).to.exist
              queue.next()

          -> done()

