   domain:
     id: DOMAIN_ID
   item:
-    id: ITEM_ID
+    id: id
     title:"muuh"
     url:"google.de"
     created: 42

        expect(responseObject.team.id).toEqual(OUR_TEAM_ID)

    it 'saves the category of an item appropriately', ->
      helper.send string(testJSON()), -> 
        expect(itemStorage[DOMAIN_ID][ITEM_ID].category).toEqual CATEGORY_ID

  describe 'feedback messages', ->
  
    beforeEach ->
      # we need an item in our db
      helper.sendAndExpect string(testJSON()), (responseObject) -> #nothing
      
    it 'increases the recommends attribute of the item appropriately', ->
      helper.send string(feedbackJSON()), ->
        expect(itemStorage[DOMAIN_ID][ITEM_ID].recommends[TARGET_ID].count).toEqual 1
        
    it 'sets the id of the item appropriately', ->
      helper.send string(feedbackJSON()), ->
        expect(itemStorage[DOMAIN_ID][ITEM_ID].recommends[TARGET_ID].id).toEqual TARGET_ID
        
runs -> helper.stopServer()

VERSION = '1.0'
RESULT_MESSAGE = 'result'
TARGET_ID = 55
LIMIT = 5

feedbackJSON = ->
  msg: 'feedback'
