diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb index 6d17c4eaf16..1b067972c81 100644 --- a/spec/helpers/gitlab_markdown_helper_spec.rb +++ b/spec/helpers/gitlab_markdown_helper_spec.rb @@ -347,7 +347,7 @@ describe GitlabMarkdownHelper do end it "should leave ref-like href of 'manual' links untouched" do - markdown("why not [inspect !#{merge_request.id}](http://example.tld/#!#{merge_request.id})").should == "

why not inspect !#{merge_request.id}

\n" + markdown("why not [inspect !#{merge_request.id}](http://example.tld/#!#{merge_request.id})").should == "

why not inspect !#{merge_request.id}

\n" end it "should leave ref-like src of images untouched" do