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
6a459b54
Commit
6a459b54
authored
Oct 08, 2020
by
Sam Beckham
Committed by
samdbeckham
Oct 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply 2 suggestion(s) to 2 file(s)
parent
cc7cce9c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/features/groups/members/leave_group_spec.rb
spec/features/groups/members/leave_group_spec.rb
+1
-1
spec/features/projects/members/list_spec.rb
spec/features/projects/members/list_spec.rb
+1
-1
No files found.
spec/features/groups/members/leave_group_spec.rb
View file @
6a459b54
...
...
@@ -70,7 +70,7 @@ RSpec.describe 'Groups > Members > Leave group' do
visit
group_group_members_path
(
group
)
expect
(
find
(
:css
,
'.project-members-page li'
,
text:
user
.
name
)).
not_to
have
_selector
(
:css
,
'a.btn-danger'
)
expect
(
find
(
:css
,
'.project-members-page li'
,
text:
user
.
name
)).
to
have_no
_selector
(
:css
,
'a.btn-danger'
)
end
it
'owner can not leave the group by url param if they are the last owner'
,
:js
do
...
...
spec/features/projects/members/list_spec.rb
View file @
6a459b54
...
...
@@ -102,7 +102,7 @@ RSpec.describe 'Project members list' do
visit_members_page
expect
(
page
).
not_to
have_selector
(
"#edit_project_member_
#{
project_member
.
id
}
"
)
expect
(
page
).
not_to
have
_selector
(
"#project_member_
#{
project_member
.
id
}
.btn-danger"
)
expect
(
page
).
to
have_no
_selector
(
"#project_member_
#{
project_member
.
id
}
.btn-danger"
)
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