Update unit tests.

This commit is contained in:
Paulo Reis 2016-11-01 16:55:26 +00:00
parent 840d52ef1a
commit c5e793125e

View file

@ -9,7 +9,7 @@ describe "UserCreator", ->
beforeEach -> beforeEach ->
self = @ self = @
@user = {_id:"12390i"} @user = {_id:"12390i", ace: {}}
@user.save = sinon.stub().callsArgWith(0) @user.save = sinon.stub().callsArgWith(0)
@UserModel = class Project @UserModel = class Project
constructor: -> constructor: ->