Skip to content
Snippets Groups Projects
Commit 11fb4d42 authored by Wei-Meng Lee's avatar Wei-Meng Lee
Browse files

Fix typo in project invitation declined test

parent c8a779a3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -59,7 +59,7 @@ module Emails
@member_source = member_source_class.find(source_id)
@invite_email = invite_email
 
mail(to: recipient(created_by_id, member_source_type == 'project' ? @member_source.group : @member_source),
mail(to: recipient(created_by_id, member_source_type == 'Project' ? @member_source.group : @member_source),
subject: subject('Invitation declined'))
end
 
Loading
Loading
Loading
Loading
@@ -779,7 +779,7 @@ describe Notify do
invitee
end
 
subject { described_class.member_invite_declined_email('project', project.id, project_member.invite_email, maintainer.id) }
subject { described_class.member_invite_declined_email('Project', project.id, project_member.invite_email, maintainer.id) }
 
it_behaves_like 'an email sent from GitLab'
it_behaves_like 'it should not have Gmail Actions links'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment