BigW Consortium Gitlab

Commit 88d38963 by Sean McGivern

Merge branch '27285-fix-broken-master' into 'master'

Ensure we have a project with a repo in GitlabMarkdownHelper specs Closes #27285 See merge request !8806
parents a1c27c20 7a57ee5d
......@@ -56,8 +56,7 @@ describe GitlabMarkdownHelper do
describe '#link_to_gfm' do
let(:link) { '/commits/0a1b2c3d' }
let(:issues) { create_list(:issue, 2) }
let(:project) { issues.first.project }
let(:issues) { create_list(:issue, 2, project: project) }
it 'handles references nested in links with all the text' do
actual = helper.link_to_gfm("This should finally fix #{issues[0].to_reference} and #{issues[1].to_reference} for real", link)
......
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