 
     it 'should pass error if email is in use', (done) ->
 
-      withDummyClient ({ client })->
+      withDummyClient ({ client }) ->
         userFormData = generateDummyUserFormData()
 
         queue = [


    it 'should pass error if username is in use', (done) ->

      withDummyClient ({ client })->
        userFormData = generateDummyUserFormData()

        queue = [


    it 'should pass error if account is already registered', (done) ->

      withDummyClient ({ client }) ->
        userFormData = generateDummyUserFormData()
        client.connection.delegate.type = 'registered'
        JUser.convert client, userFormData, (err) ->
