Commit da01a4af authored by Yorick Peterse's avatar Yorick Peterse

Remove JIRA spec for ExternalIssueReferenceFilter

These specs do not exist in CE and don't add anything useful themselves.
There's no application code that initializes a JiraIssue instance and it
currently behaves exactly the same as a regular ExternalIssue.
parent dff795a8
......@@ -73,13 +73,5 @@ describe Banzai::Filter::ExternalIssueReferenceFilter, lib: true do
expect(link).to eq helper.url_for_issue("#{reference}", project, only_path: true)
end
it 'adds to the results hash' do
ext = JiraIssue.new(reference, project)
result = reference_pipeline_result("Issue #{reference}")
expect(result[:references][:external_issue]).not_to be_empty
expect(result[:references][:external_issue]).to eq [ext]
end
end
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