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
a0c044c1
Commit
a0c044c1
authored
Jun 28, 2017
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve tests text
parent
bd4c2847
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
doc/api/namespaces.md
doc/api/namespaces.md
+0
-1
spec/requests/api/namespaces_spec.rb
spec/requests/api/namespaces_spec.rb
+2
-2
No files found.
doc/api/namespaces.md
View file @
a0c044c1
...
...
@@ -39,7 +39,6 @@ Example response:
"full_path"
:
"group1"
,
"parent_id"
:
"null"
,
"members_count_with_descendants"
:
2
},
{
"id"
:
3
,
...
...
spec/requests/api/namespaces_spec.rb
View file @
a0c044c1
...
...
@@ -51,7 +51,7 @@ describe API::Namespaces do
end
context
"when authenticated as a regular user"
do
it
"returns
members_count_with_descendants if
user can admin group"
do
it
"returns
correct attributes when
user can admin group"
do
group1
.
add_owner
(
user
)
get
api
(
"/namespaces"
,
user
)
...
...
@@ -62,7 +62,7 @@ describe API::Namespaces do
'parent_id'
,
'members_count_with_descendants'
)
end
it
"
does not returns members_count_with_descendants if
user cannot admin group"
do
it
"
returns correct attributes when
user cannot admin group"
do
group1
.
add_guest
(
user
)
get
api
(
"/namespaces"
,
user
)
...
...
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