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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
0b4b96be
Commit
0b4b96be
authored
Feb 04, 2021
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@13-8-stable-ee
parent
1f588dcb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
0 deletions
+16
-0
spec/controllers/groups/group_links_controller_spec.rb
spec/controllers/groups/group_links_controller_spec.rb
+4
-0
spec/controllers/groups/group_members_controller_spec.rb
spec/controllers/groups/group_members_controller_spec.rb
+4
-0
spec/controllers/projects/group_links_controller_spec.rb
spec/controllers/projects/group_links_controller_spec.rb
+4
-0
spec/controllers/projects/project_members_controller_spec.rb
spec/controllers/projects/project_members_controller_spec.rb
+4
-0
No files found.
spec/controllers/groups/group_links_controller_spec.rb
View file @
0b4b96be
...
...
@@ -9,6 +9,10 @@ RSpec.describe Groups::GroupLinksController do
let
(
:group_member
)
{
create
(
:user
)
}
let!
(
:project
)
{
create
(
:project
,
group:
shared_group
)
}
around
do
|
example
|
travel_to
DateTime
.
new
(
2019
,
4
,
1
)
{
example
.
run
}
end
before
do
sign_in
(
user
)
...
...
spec/controllers/groups/group_members_controller_spec.rb
View file @
0b4b96be
...
...
@@ -9,6 +9,10 @@ RSpec.describe Groups::GroupMembersController do
let
(
:group
)
{
create
(
:group
,
:public
)
}
let
(
:membership
)
{
create
(
:group_member
,
group:
group
)
}
around
do
|
example
|
travel_to
DateTime
.
new
(
2019
,
4
,
1
)
{
example
.
run
}
end
describe
'GET index'
do
it
'renders index with 200 status code'
do
get
:index
,
params:
{
group_id:
group
}
...
...
spec/controllers/projects/group_links_controller_spec.rb
View file @
0b4b96be
...
...
@@ -8,6 +8,10 @@ RSpec.describe Projects::GroupLinksController do
let_it_be
(
:project
)
{
create
(
:project
,
:private
,
group:
group2
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
around
do
|
example
|
travel_to
DateTime
.
new
(
2019
,
4
,
1
)
{
example
.
run
}
end
before
do
project
.
add_maintainer
(
user
)
sign_in
(
user
)
...
...
spec/controllers/projects/project_members_controller_spec.rb
View file @
0b4b96be
...
...
@@ -7,6 +7,10 @@ RSpec.describe Projects::ProjectMembersController do
let
(
:group
)
{
create
(
:group
,
:public
)
}
let
(
:project
)
{
create
(
:project
,
:public
)
}
around
do
|
example
|
travel_to
DateTime
.
new
(
2019
,
4
,
1
)
{
example
.
run
}
end
describe
'GET index'
do
it
'has the project_members address with a 200 status code'
do
get
:index
,
params:
{
namespace_id:
project
.
namespace
,
project_id:
project
}
...
...
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