Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GitLab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
GitLab
Merge requests
!17139
FE for share groups with groups
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
FE for share groups with groups
if-share_groups_with_groups_fe
into
master
Overview
102
Commits
9
Pipelines
42
Changes
1
All threads resolved!
Hide all comments
Merged
Imre Farkas
requested to merge
if-share_groups_with_groups_fe
into
master
5 years ago
Overview
102
Commits
9
Pipelines
42
Changes
1
All threads resolved!
Hide all comments
Expand
What does this MR do?
#22986 (closed)
Screenshots
Does this MR meet the acceptance criteria?
Conformity
[-]
Changelog entry
[-]
Documentation created/updated
or
follow-up review issue created
Code review guidelines
Merge request performance guidelines
Style guides
Database guides
[-]
Separation of EE specific content
Performance and Testing
Review and add/update tests for this feature/bug
. Consider
all test levels
. See the
Test Planning Process
.
Tested in all supported browsers
Edited
5 years ago
by
Illya Klymov
1
0
Merge request reports
Viewing commit
de1a259d
Show latest version
1 file
+
6
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
de1a259d
Spec for skip_groups in Groups::GroupMembersController#index
· de1a259d
Imre Farkas
authored
5 years ago
spec/controllers/groups/group_members_controller_spec.rb
+
6
−
0
Options
@@ -31,6 +31,12 @@
expect
(
assigns
(
:invited_members
).
map
(
&
:invite_email
)).
to
match_array
(
invited
.
map
(
&
:invite_email
))
end
it
'assigns skip groups'
do
get
:index
,
params:
{
group_id:
group
}
expect
(
assigns
(
:skip_groups
)).
to
match_array
(
group
.
related_group_ids
)
end
it
'restricts search to one email'
do
get
:index
,
params:
{
group_id:
group
,
search_invited:
invited
.
first
.
invite_email
}
Loading