edubkendo
9/3/2012 - 8:55 PM

test for calling init

test for calling init

      it "should call init on creation", (done) ->
        spy = sinon.spy ircBot, "init"
        ircBot.save()
        spy.should.have.been.calledOnce
        done()