       form.append('_id', String(joe._id))
       form.append('email', 'New@email.com')
       form.append('name', 'Wilhelm')
-
 
 describe 'GET /db/user', ->
 


    user = new User({emailSubscriptions:['announcement'], email:'tester@gmail.com'})
    User.updateMailChimp(user)
          
describe 'POST /db/user', ->

  createAnonNameUser = (done)->

        form.append('_id', String(admin._id))
        form.append('email', joe.get('email').toUpperCase())

  it 'does not care if you include your existing name', (done) ->
    unittest.getNormalJoe (joe) ->
      req = request.put getURL(urlUser+'/'+joe._id), (err, res) ->
        expect(res.statusCode).toBe(200)
        done()
      form = req.form()
      form.append('_id', String(joe._id))
      form.append('name', 'Joe')

  it 'accepts name and email changes', (done) ->
    unittest.getNormalJoe (joe) ->
      req = request.put getURL(urlUser), (err, res) ->
        expect(res.statusCode).toBe(200)
