                 should.exist @err
 
             it "The process should stop", ->
-                @stub.callCount.should.equal 0
+                expect(@stub.callCount).to.equal 0
 
     describe "Remove Every Views", ->
 

path = require 'path'
fs = require 'fs'
should = require('chai').should()
sinon = require 'sinon'
nock = require 'nock'
Client = require('request-json').JsonClient

                ds.post "request/#{@doctype}/all/", {}, (err, res, body) =>
                    should.not.exist err
                    should.exist body
                    body.should.have.length 1
                    body[0].value.docType.should.equal @doctype
                    Object.keys(@doc).forEach (field) ->
                        should.exist body[0].value[field]
