                     @body = body
                     done()
 
-            it "Then I should have 0 documents returned", ->
-                @body.should.have.length 50
+            it "Then I should have 49 documents returned", ->
+                @body.should.have.length 49
 
 
         describe "Delete all doc from a view : even_num", (done) ->

            it "Then I should have 0 documents returned", ->
                @body.should.have.length 0

            it "And I send a request to grab all docs from even_num", (done) ->
                client.post "request/all/even_num/", {}, \
                            (error, response, body) =>


            it "When I send a request to get doc with num = 10", (done) ->
                client.post "request/all/even_num/", key: 10, \
                            (error, response, body) =>
                    response.statusCode.should.equal 200
                    @body = body
                    done()

            it "Then I should have 1 documents returned", ->
                @body.should.have.length 1

            it "When I send a request to get doc with complex query", (done) ->
                client.post "request/all/even_num_array/", \
                    {startkey: ["test", 10], endkey: ["test", 10, {}]}, \
                            (error, response, body) =>
                    response.statusCode.should.equal 200
                    @body = body
