Fix unit tests

This commit is contained in:
James Allen 2014-11-24 14:26:51 +00:00
parent b8fdbdb406
commit afca9ba0cb

View file

@ -12,7 +12,10 @@ describe 'TemplatesController', ->
beforeEach ->
@request = sinon.stub()
@request.returns pipe:->
@request.returns {
pipe:->
on:->
}
@fs = {
unlink : sinon.stub()
createWriteStream : sinon.stub().returns(on:(_, cb)->cb())