     attachment.save().then @async ->
       notEqual user.get('_data.rev'), rev, 'attachment created'
 
-
 test 'delete', 2, ->
   rev = @subject.createDocument({id: "user0", name: "UserZero"})
   rev = @subject.createAttachment('user0', rev, {id: "user/image3"})

      attachment.save().then @async =>
        user.get('attachments').then @async ->
          equal user.get('attachments.length'), 1, 'one attachment gone'


test 'find', 1, ->
  user = @user()

  @subject.find('user', 'user1').then @async (user) =>
    user.get('attachments').then @async ->
      equal user.get('attachments.length'), 2, 'okok'
