edubkendo
9/11/2012 - 6:57 PM

test for publishing gist

test for publishing gist

    it "should make a gist on github after creation", (done) ->
      spy = sinon.spy gist, "makeGist"
      gist.save()
      process.nextTick ->
        spy.should.have.been.calledOnce      
        done()