Commit 182d5a2e authored by Stan Hu's avatar Stan Hu

Merge branch 'lucyfox-master-patch-97185' into 'master'

Fix typo: exists

See merge request gitlab-org/gitlab!33006
parents 59122560 8be9b198
......@@ -204,7 +204,7 @@ describe Gitlab::ReferenceExtractor do
issue]
end
it 'returns only Jira issues if the internal one does not exists' 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 exists' 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment