         visibility     : 'visible'
         allowedDomains : ['gmail.com']
 
+      allowedDomainEmail = generateRandomEmail groupData.allowedDomains[0]
+
       queue = [
 
         ->

          # expecting to return false when there are no allowedDomains
          JGroup.create client, groupData, account, (err, group) ->
            expect(err).to.not.exist
            expect(group.isInAllowedDomain userFormData.email).to.be.ok
            queue.next()

        -> done()

      client            = {}
      account           = {}
      groupSlug         = generateRandomString()
      userFormData      = generateDummyUserFormData()

      groupData         =
        slug           : groupSlug
