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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
e7e63199
Commit
e7e63199
authored
Mar 31, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Multiple issue asignees] fix issue atom feed
parent
49577e6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/issues/_issue.atom.builder
app/views/issues/_issue.atom.builder
+2
-2
spec/features/atom/dashboard_issues_spec.rb
spec/features/atom/dashboard_issues_spec.rb
+2
-2
No files found.
app/views/issues/_issue.atom.builder
View file @
e7e63199
...
...
@@ -26,8 +26,8 @@ xml.entry do
if issue.assignees.any?
xml.assignees do
issue.assignees.each do |assignee|
xml.name ssignee.name
xml.email assignee.
assignee_
public_email
xml.name
a
ssignee.name
xml.email assignee.public_email
end
end
end
...
...
spec/features/atom/dashboard_issues_spec.rb
View file @
e7e63199
...
...
@@ -41,7 +41,7 @@ describe "Dashboard Issues Feed", feature: true do
expect
(
entry
).
to
be_present
expect
(
entry
).
to
have_selector
(
'author email'
,
text:
issue2
.
author_public_email
)
expect
(
entry
).
to
have_selector
(
'assignee
email'
,
text:
issue2
.
assignee_
public_email
)
expect
(
entry
).
to
have_selector
(
'assignee
s email'
,
text:
issue2
.
assignees
.
first
.
public_email
)
expect
(
entry
).
not_to
have_selector
(
'labels'
)
expect
(
entry
).
not_to
have_selector
(
'milestone'
)
expect
(
entry
).
to
have_selector
(
'description'
,
text:
issue2
.
description
)
...
...
@@ -64,7 +64,7 @@ describe "Dashboard Issues Feed", feature: true do
expect
(
entry
).
to
be_present
expect
(
entry
).
to
have_selector
(
'author email'
,
text:
issue1
.
author_public_email
)
expect
(
entry
).
to
have_selector
(
'assignee
email'
,
text:
issue1
.
assignee_
public_email
)
expect
(
entry
).
to
have_selector
(
'assignee
s email'
,
text:
issue1
.
assignees
.
first
.
public_email
)
expect
(
entry
).
to
have_selector
(
'labels label'
,
text:
label1
.
title
)
expect
(
entry
).
to
have_selector
(
'milestone'
,
text:
milestone1
.
title
)
expect
(
entry
).
not_to
have_selector
(
'description'
)
...
...
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