summaryrefslogtreecommitdiff
path: root/spec/lib/banzai/issuable_extractor_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/banzai/issuable_extractor_spec.rb')
-rw-r--r--spec/lib/banzai/issuable_extractor_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/banzai/issuable_extractor_spec.rb b/spec/lib/banzai/issuable_extractor_spec.rb
index c4ee7160e12..8fec9691d7f 100644
--- a/spec/lib/banzai/issuable_extractor_spec.rb
+++ b/spec/lib/banzai/issuable_extractor_spec.rb
@@ -13,6 +13,7 @@ RSpec.describe Banzai::IssuableExtractor do
"<a href='' data-issue='#{issue.id}' data-reference-type='issue' class='gfm'>text</a>"
)
end
+
let(:merge_request_link) do
html_to_node(
"<a href='' data-merge-request='#{merge_request.id}' data-reference-type='merge_request' class='gfm'>text</a>"