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
dbc6f2cb
Commit
dbc6f2cb
authored
Jun 16, 2020
by
Arturo Herrero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jira DVCS: Admin can access to private groups
parent
f7272b77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
ee/spec/requests/api/v3/github_spec.rb
ee/spec/requests/api/v3/github_spec.rb
+9
-0
No files found.
ee/spec/requests/api/v3/github_spec.rb
View file @
dbc6f2cb
...
...
@@ -300,6 +300,15 @@ RSpec.describe API::V3::Github do
it
'returns an array of projects belonging to group'
do
expect_project_under_namespace
([
project
,
project2
],
group
,
user
)
end
context
'with a private group'
do
let
(
:group
)
{
create
(
:group
,
:private
)
}
let!
(
:project2
)
{
create
(
:project
,
:private
,
group:
group
)
}
it
'returns an array of projects belonging to group'
do
expect_project_under_namespace
([
project
,
project2
],
group
,
user
)
end
end
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