         ->
           # trying to use sso token without being a member of the group
           ssoTokenLoginRequestParams = generateSsoTokenLoginRequestParams
-            qs : { token }
+            qs  : { token }
             url : { subdomain : group.slug }
 
           request.get ssoTokenLoginRequestParams, (err, res, body) ->


  it 'should send HTTP 400 if user is not a member of the apiToken group', (done) ->

    withConvertedUserAndApiToken { createGroup : yes }, ({ group, apiToken }) ->

      token    = null
      account  = null


  it 'should send HTTP 400 if user is non-existent', (done) ->

    options = { createGroup : yes, groupData : { isApiTokenEnabled : yes } }
    withConvertedUserAndApiToken options, ({ group }) ->
      token = JUser.createJWT { username: 'non-existent-user', group : group.slug }
      ssoTokenLoginRequestParams = generateSsoTokenLoginRequestParams
        qs  : { token }
