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
182d5a2e
Commit
182d5a2e
authored
May 26, 2020
by
Stan Hu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lucyfox-master-patch-97185' into 'master'
Fix typo: exists See merge request gitlab-org/gitlab!33006
parents
59122560
8be9b198
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/reference_extractor_spec.rb
spec/lib/gitlab/reference_extractor_spec.rb
+2
-2
No files found.
spec/lib/gitlab/reference_extractor_spec.rb
View file @
182d5a2e
...
...
@@ -204,7 +204,7 @@ describe Gitlab::ReferenceExtractor do
issue
]
end
it
'returns only Jira issues if the internal one does not exist
s
'
do
it
'returns only Jira issues if the internal one does not exist'
do
subject
.
analyze
(
"JIRA-123 and FOOBAR-4567 and #
#{
non_existing_record_iid
}
"
)
expect
(
subject
.
issues
).
to
eq
[
ExternalIssue
.
new
(
'JIRA-123'
,
project
),
ExternalIssue
.
new
(
'FOOBAR-4567'
,
project
)]
...
...
@@ -236,7 +236,7 @@ describe Gitlab::ReferenceExtractor do
expect
(
subject
.
issues
).
to
eq
([
issue
])
end
it
'does not return any issue if the internal one does not exist
s
'
do
it
'does not return any issue if the internal one does not exist'
do
subject
.
analyze
(
"JIRA-123 and FOOBAR-4567 and #999"
)
expect
(
subject
.
issues
).
to
be_empty
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