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
77ed59ee
Commit
77ed59ee
authored
Feb 04, 2020
by
Arturo Herrero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify spec description
parent
b25caf15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/spec/requests/api/v3/github_spec.rb
ee/spec/requests/api/v3/github_spec.rb
+2
-2
No files found.
ee/spec/requests/api/v3/github_spec.rb
View file @
77ed59ee
...
...
@@ -290,14 +290,14 @@ describe API::V3::Github do
let
(
:project
)
{
create
(
:project
,
group:
group
)
}
let!
(
:project2
)
{
create
(
:project
,
:public
,
group:
group
)
}
it
'returns an array of projects
excluding the public ones belonging to group with github format
'
do
it
'returns an array of projects
belonging to group excluding the ones user is not directly a member of, even when public
'
do
expect_project_under_namespace
([
project
],
group
,
user
)
end
context
'when instance admin'
do
let
(
:user
)
{
create
(
:user
,
:admin
)
}
it
'returns an array of projects belonging to group
with github format
'
do
it
'returns an array of projects belonging to group'
do
expect_project_under_namespace
([
project
,
project2
],
group
,
user
)
end
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