                     @res = res
                     @body = body
                     done()
-
-            after -> cleanDB
 
             it "The response shouldn't be an error", =>
                 should.not.exist @err


        # load all the fixtures
        before cleanDB
        before (done) -> fixtures.load removeBeforeLoad: true, callback: done
        after cleanDB

        describe "When we request the doctypes list", (done) =>

                body.length.should.equal 0
                done()

    describe "When we add 2 documents of one doctype (Alarm)", ->

        before cleanDB
        before (done) -> fixtures.load doctypeTarget: 'alarm', callback: done
