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
67fb16a5
Commit
67fb16a5
authored
Jun 23, 2021
by
Dan Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix import_github_repo_spec labels validation
parent
b83e962f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
+11
-13
qa/qa/specs/features/browser_ui/1_manage/project/import_github_repo_spec.rb
...es/browser_ui/1_manage/project/import_github_repo_spec.rb
+11
-13
No files found.
qa/qa/specs/features/browser_ui/1_manage/project/import_github_repo_spec.rb
View file @
67fb16a5
...
...
@@ -61,8 +61,7 @@ module QA
def
verify_labels_import
labels
=
imported_project
.
labels
.
map
{
|
label
|
label
.
slice
(
:name
,
:color
)
}
expect
(
labels
).
to
eq
(
[
expect
(
labels
).
to
include
(
{
name:
'bug'
,
color:
'#d73a4a'
},
{
name:
'custom new label'
,
color:
'#fc8f91'
},
{
name:
'documentation'
,
color:
'#0075ca'
},
...
...
@@ -73,7 +72,6 @@ module QA
{
name:
'invalid'
,
color:
'#e4e669'
},
{
name:
'question'
,
color:
'#d876e3'
},
{
name:
'wontfix'
,
color:
'#ffffff'
}
]
)
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