 
 client = new Client("http://localhost:8888/")
 
-describe "Test of mailboxes; ", ->
+ 
+describe "Test of mailboxes", ->
 
     before (done) ->
         app.listen(8888)
-        done()
+        Mailbox.destroyAll done
 
     after (done) ->
         app.close()
         done()
 
-    describe "Creation and update of a mailbox; ", ->
+    describe "Creation and update of a mailbox", ->
+
         it "When I send data for a mailbox creation", (done) ->
             mailbox =
                 name: "test.smpt.fr"

                @response = response
                @body = body
                done(error)

            
            done()
            
    describe "Now let's check the update", ->
            
        it "Once it's stored, we can retrieve it by its id (show)", (done) ->
                client.get "mailboxes/" + @idToRetrieve, (error, response, body) =>
                    @body = body
                    done()
        
        it "And the data should be the same, as stored in the beginning", (done) ->
            should.exist @body

            @body.login.should.equal "logintest"
            @body.SMTP_server.should.equal "test.smpt.fr"
