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
61986ceb
Commit
61986ceb
authored
Oct 08, 2019
by
🙈 jacopo beschi 🙉
Committed by
Nick Thomas
Oct 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Flaky spec/finders/members_finder_spec.rb:85"
parent
e96d6f7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
changelogs/unreleased/31427-flaky-spec-finders-members_finder_spec-rb-85.yml
...ed/31427-flaky-spec-finders-members_finder_spec-rb-85.yml
+5
-0
spec/finders/members_finder_spec.rb
spec/finders/members_finder_spec.rb
+2
-4
No files found.
changelogs/unreleased/31427-flaky-spec-finders-members_finder_spec-rb-85.yml
0 → 100644
View file @
61986ceb
---
title
:
Fix Flaky spec/finders/members_finder_spec.rb:85
merge_request
:
18257
author
:
Jacopo Beschi @jacopo-beschi
type
:
fixed
spec/finders/members_finder_spec.rb
View file @
61986ceb
...
...
@@ -86,10 +86,8 @@ describe MembersFinder, '#execute' do
create
(
:project_group_link
,
project:
project
,
group:
nested_linked_group
,
group_access:
Gitlab
::
Access
::
REPORTER
)
nested_linked_group
.
add_developer
(
user1
)
result
=
subject
expect
(
result
).
to
contain_exactly
(
linked_group_member
,
nested_linked_group_member
)
expect
(
result
.
first
.
access_level
).
to
eq
(
Gitlab
::
Access
::
REPORTER
)
expect
(
subject
.
map
(
&
:user
)).
to
contain_exactly
(
user1
,
user2
)
expect
(
subject
.
max_by
(
&
:access_level
).
access_level
).
to
eq
(
Gitlab
::
Access
::
REPORTER
)
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