                 , false
 
             it "Then it should contains my alarms", ->
+
                 @body.should.equal expectedContent
+                    .replace('[id-1]', ids[0])
+                    .replace('[id-2]', ids[1])
+                    .replace('[id-3]', ids[2])
+
+                    .replace('[id-4]', ids[3])
 
 
         describe "POST /import/ical", ->

PRODID:-//Cozy Cloud//NONSGML Cozy Agenda//EN
BEGIN:VTIMEZONE
TZID:Europe/Paris
BEGIN:STANDARD
DTSTART:20130423T144000
TZOFFSETFROM:-0200


    describe 'Resources', ->
        describe "GET /export/calendar.ics", ->

            ids = null

            before (done) ->
                initDb = (callback) ->
                    async.series [
