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
d23a654f
Commit
d23a654f
authored
Jul 05, 2019
by
Mark Lapierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize Issue labels
This provides a valid default value when labels are not specified explicitly.
parent
01fea14f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
qa/qa/resource/issue.rb
qa/qa/resource/issue.rb
+5
-1
No files found.
qa/qa/resource/issue.rb
View file @
d23a654f
...
...
@@ -16,6 +16,10 @@ module QA
attribute
:labels
attribute
:title
def
initialize
@labels
=
[]
end
def
fabricate!
project
.
visit!
...
...
@@ -38,7 +42,7 @@ module QA
def
api_post_body
{
labels:
[
labels
]
,
labels:
labels
,
title:
title
}
end
...
...
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