edubkendo
9/11/2012 - 12:28 PM

test for the "checkCount" method

test for the "checkCount" method

    it "should check its count after creation", (done) ->
      spy = sinon.spy message, "checkCount"
      message.save()
      spy.should.have.been.calledOnce      
      done()