Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
11fb4d42
Commit
11fb4d42
authored
Apr 03, 2019
by
Wei-Meng Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in project invitation declined test
parent
c8a779a3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/mailers/emails/members.rb
app/mailers/emails/members.rb
+1
-1
spec/mailers/notify_spec.rb
spec/mailers/notify_spec.rb
+1
-1
No files found.
app/mailers/emails/members.rb
View file @
11fb4d42
...
...
@@ -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
==
'
p
roject'
?
@member_source
.
group
:
@member_source
),
mail
(
to:
recipient
(
created_by_id
,
member_source_type
==
'
P
roject'
?
@member_source
.
group
:
@member_source
),
subject:
subject
(
'Invitation declined'
))
end
...
...
spec/mailers/notify_spec.rb
View file @
11fb4d42
...
...
@@ -779,7 +779,7 @@ describe Notify do
invitee
end
subject
{
described_class
.
member_invite_declined_email
(
'
p
roject'
,
project
.
id
,
project_member
.
invite_email
,
maintainer
.
id
)
}
subject
{
described_class
.
member_invite_declined_email
(
'
P
roject'
,
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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment