Commit 11fb4d42 authored by Wei-Meng Lee's avatar Wei-Meng Lee

Fix typo in project invitation declined test

parent c8a779a3
...@@ -59,7 +59,7 @@ module Emails ...@@ -59,7 +59,7 @@ module Emails
@member_source = member_source_class.find(source_id) @member_source = member_source_class.find(source_id)
@invite_email = invite_email @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')) subject: subject('Invitation declined'))
end end
......
...@@ -779,7 +779,7 @@ describe Notify do ...@@ -779,7 +779,7 @@ describe Notify do
invitee invitee
end 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 'an email sent from GitLab'
it_behaves_like 'it should not have Gmail Actions links' it_behaves_like 'it should not have Gmail Actions links'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment