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
76d61e46
Commit
76d61e46
authored
Apr 06, 2020
by
Rajendra Kadam
Committed by
Igor Drozdov
Apr 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix duplicate spec in closing issue specs
parent
853193be
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
.rubocop.yml
.rubocop.yml
+0
-1
changelogs/unreleased/closing-issue-spec.yml
changelogs/unreleased/closing-issue-spec.yml
+5
-0
spec/lib/gitlab/closing_issue_extractor_spec.rb
spec/lib/gitlab/closing_issue_extractor_spec.rb
+2
-2
No files found.
.rubocop.yml
View file @
76d61e46
...
...
@@ -395,7 +395,6 @@ RSpec/RepeatedExample:
-
'
spec/frontend/fixtures/merge_requests.rb'
-
'
spec/graphql/gitlab_schema_spec.rb'
-
'
spec/helpers/users_helper_spec.rb'
-
'
spec/lib/gitlab/closing_issue_extractor_spec.rb'
-
'
spec/lib/gitlab/import_export/project/relation_factory_spec.rb'
-
'
spec/rubocop/cop/migration/update_large_table_spec.rb'
-
'
spec/services/notification_service_spec.rb'
...
...
changelogs/unreleased/closing-issue-spec.yml
0 → 100644
View file @
76d61e46
---
title
:
Remove duplicate spec from closing issue spec
merge_request
:
28803
author
:
Rajendra Kadam
type
:
added
spec/lib/gitlab/closing_issue_extractor_spec.rb
View file @
76d61e46
...
...
@@ -103,7 +103,7 @@ describe Gitlab::ClosingIssueExtractor do
end
it
do
message
=
"Awesome commit (
F
ixes:
#{
reference
}
)"
message
=
"Awesome commit (
f
ixes:
#{
reference
}
)"
expect
(
subject
.
closed_by_message
(
message
)).
to
eq
([
issue
])
end
...
...
@@ -396,7 +396,7 @@ describe Gitlab::ClosingIssueExtractor do
end
it
'allows mixed comma-separated and non-comma-separated issue numbers in single line message'
do
message
=
"Closes
#{
reference
}
,
#{
reference2
}
and
#{
reference3
}
"
message
=
"Closes
#{
reference
}
,
#{
reference2
}
#{
reference3
}
"
expect
(
subject
.
closed_by_message
(
message
))
.
to
match_array
([
issue
,
other_issue
,
third_issue
])
...
...
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