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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
e8bf8ec4
Commit
e8bf8ec4
authored
Jun 13, 2016
by
Alexander Matyushentsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply reviewer notes: update CHANGELOG, adjust code formatting
parent
fcbb14f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
CHANGELOG
CHANGELOG
+1
-2
spec/features/atom/dashboard_issues_spec.rb
spec/features/atom/dashboard_issues_spec.rb
+6
-6
No files found.
CHANGELOG
View file @
e8bf8ec4
...
@@ -2,7 +2,7 @@ Please view this file on the master branch, on stable branches it's out of date.
...
@@ -2,7 +2,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.9.0 (unreleased)
v 8.9.0 (unreleased)
- Fix Error 500 when using closes_issues API with an external issue tracker
- Fix Error 500 when using closes_issues API with an external issue tracker
- Add more information into RSS feed for issues
.
- Add more information into RSS feed for issues
(Alexander Matyushentsev)
- Bulk assign/unassign labels to issues.
- Bulk assign/unassign labels to issues.
- Ability to prioritize labels !4009 / !3205 (Thijs Wouters)
- Ability to prioritize labels !4009 / !3205 (Thijs Wouters)
- Fix endless redirections when accessing user OAuth applications when they are disabled
- Fix endless redirections when accessing user OAuth applications when they are disabled
...
@@ -124,7 +124,6 @@ v 8.8.1
...
@@ -124,7 +124,6 @@ v 8.8.1
v 8.8.0
v 8.8.0
- Implement GFM references for milestones (Alejandro Rodríguez)
- Implement GFM references for milestones (Alejandro Rodríguez)
v 8.8.0 (unreleased)
- Snippets tab under user profile. !4001 (Long Nguyen)
- Snippets tab under user profile. !4001 (Long Nguyen)
- Fix error when using link to uploads in global snippets
- Fix error when using link to uploads in global snippets
- Fix Error 500 when attempting to retrieve project license when HEAD points to non-existent ref
- Fix Error 500 when attempting to retrieve project license when HEAD points to non-existent ref
...
...
spec/features/atom/dashboard_issues_spec.rb
View file @
e8bf8ec4
...
@@ -2,9 +2,9 @@ require 'spec_helper'
...
@@ -2,9 +2,9 @@ require 'spec_helper'
describe
"Dashboard Issues Feed"
,
feature:
true
do
describe
"Dashboard Issues Feed"
,
feature:
true
do
describe
"GET /issues"
do
describe
"GET /issues"
do
let!
(
:user
)
{
create
(
:user
)
}
let!
(
:user
)
{
create
(
:user
)
}
let!
(
:project1
)
{
create
(
:project
)
}
let!
(
:project1
)
{
create
(
:project
)
}
let!
(
:project2
)
{
create
(
:project
)
}
let!
(
:project2
)
{
create
(
:project
)
}
before
do
before
do
project1
.
team
<<
[
user
,
:master
]
project1
.
team
<<
[
user
,
:master
]
...
@@ -12,7 +12,7 @@ describe "Dashboard Issues Feed", feature: true do
...
@@ -12,7 +12,7 @@ describe "Dashboard Issues Feed", feature: true do
end
end
describe
"atom feed"
do
describe
"atom feed"
do
it
"
should render
atom feed via private token"
do
it
"
renders
atom feed via private token"
do
visit
issues_dashboard_path
(
:atom
,
private_token:
user
.
private_token
)
visit
issues_dashboard_path
(
:atom
,
private_token:
user
.
private_token
)
expect
(
response_headers
[
'Content-Type'
]).
to
have_content
(
'application/atom+xml'
)
expect
(
response_headers
[
'Content-Type'
]).
to
have_content
(
'application/atom+xml'
)
...
@@ -22,7 +22,7 @@ describe "Dashboard Issues Feed", feature: true do
...
@@ -22,7 +22,7 @@ describe "Dashboard Issues Feed", feature: true do
context
"issue with basic fields"
do
context
"issue with basic fields"
do
let!
(
:issue2
)
{
create
(
:issue
,
author:
user
,
assignee:
user
,
project:
project2
,
description:
'test desc'
)
}
let!
(
:issue2
)
{
create
(
:issue
,
author:
user
,
assignee:
user
,
project:
project2
,
description:
'test desc'
)
}
it
"
should render
issue fields"
do
it
"
renders
issue fields"
do
visit
issues_dashboard_path
(
:atom
,
private_token:
user
.
private_token
)
visit
issues_dashboard_path
(
:atom
,
private_token:
user
.
private_token
)
entry
=
find
(
:xpath
,
"//feed/entry[contains(summary/text(),'
#{
issue2
.
title
}
')]"
)
entry
=
find
(
:xpath
,
"//feed/entry[contains(summary/text(),'
#{
issue2
.
title
}
')]"
)
...
@@ -45,7 +45,7 @@ describe "Dashboard Issues Feed", feature: true do
...
@@ -45,7 +45,7 @@ describe "Dashboard Issues Feed", feature: true do
issue1
.
labels
<<
label1
issue1
.
labels
<<
label1
end
end
it
"
should render
issue label and milestone info"
do
it
"
renders
issue label and milestone info"
do
visit
issues_dashboard_path
(
:atom
,
private_token:
user
.
private_token
)
visit
issues_dashboard_path
(
:atom
,
private_token:
user
.
private_token
)
entry
=
find
(
:xpath
,
"//feed/entry[contains(summary/text(),'
#{
issue1
.
title
}
')]"
)
entry
=
find
(
:xpath
,
"//feed/entry[contains(summary/text(),'
#{
issue1
.
title
}
')]"
)
...
...
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