     _mockProjectService = () ->
         mocks.projectService = {
             project: sinon.stub()
+            fetchProject: sinon.stub()
         }
 
         provide.value "tgProjectService", mocks.projectService

            'Message'
        ).promise().resolve()

        inviteMembersFormCtrl.sendInvites().then () ->
            expect(inviteMembersFormCtrl.loading).to.be.false
            expect(mocks.rootScope.$broadcast).to.have.been.calledWith("membersform:new:success")

        inviteMembersFormCtrl.inviteContactsMessage = 'Message'
        inviteMembersFormCtrl.loading = true

        mocks.tgResources.memberships.bulkCreateMemberships.withArgs(
            1,
            [{
                'role_id': 1
