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
4774c72f
Commit
4774c72f
authored
Apr 06, 2020
by
Rajendra Kadam
Committed by
Peter Leitzen
Apr 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate spec in user post diff notes
parent
8d6978c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
11 deletions
+6
-11
.rubocop.yml
.rubocop.yml
+0
-5
changelogs/unreleased/user-post-diff-notes.yml
changelogs/unreleased/user-post-diff-notes.yml
+5
-0
spec/features/merge_request/user_posts_diff_notes_spec.rb
spec/features/merge_request/user_posts_diff_notes_spec.rb
+1
-6
No files found.
.rubocop.yml
View file @
4774c72f
...
...
@@ -380,8 +380,3 @@ Performance/ChainArrayAllocation:
-
'
lib/gitlab/import_export/**/*'
-
'
ee/lib/gitlab/import_export/**/*'
-
'
ee/lib/ee/gitlab/import_export/**/*'
# https://gitlab.com/gitlab-org/gitlab/-/issues/212541
RSpec/RepeatedExample
:
Exclude
:
-
'
spec/features/merge_request/user_posts_diff_notes_spec.rb'
changelogs/unreleased/user-post-diff-notes.yml
0 → 100644
View file @
4774c72f
---
title
:
Fix duplicate spec in user post diff notes
merge_request
:
28859
author
:
Rajendra Kadam
type
:
added
spec/features/merge_request/user_posts_diff_notes_spec.rb
View file @
4774c72f
...
...
@@ -66,12 +66,7 @@ describe 'Merge request > User posts diff notes', :js do
end
context
'with a match line'
do
it
'does not allow commenting on the left side'
do
line_holder
=
find
(
'.match'
,
match: :first
).
find
(
:xpath
,
'..'
)
match_should_not_allow_commenting
(
line_holder
)
end
it
'does not allow commenting on the right side'
do
it
'does not allow commenting'
do
line_holder
=
find
(
'.match'
,
match: :first
).
find
(
:xpath
,
'..'
)
match_should_not_allow_commenting
(
line_holder
)
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