Commit 949d43eb authored by Valery Sizov's avatar Valery Sizov

Merge branch 'ce_upstream' of gitlab.com:gitlab-org/gitlab-ee into new_ce_upstream

parents 11c239cd da01a4af
......@@ -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