refactor observers test since email logic moved to service

This commit is contained in:
Dmitriy Zaporozhets 2013-03-26 19:00:54 +02:00
parent ce0945efcd
commit 3728c4904e
7 changed files with 19 additions and 164 deletions

View file

@ -108,4 +108,12 @@ class NotificationService
Notify.delay.note_commit_email(note.commit_author.id, note.id)
end
end
def new_team_member(users_project)
Notify.delay.project_access_granted_email(users_project.id)
end
def update_team_member(users_project)
Notify.delay.project_access_granted_email(users_project.id)
end
end