From: Dmitriy Zaporozhets Date: Tue, 10 Dec 2013 11:38:31 +0000 (+0200) Subject: Fix markdown helper spec X-Git-Tag: v6.4.0~53^2~8 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=58eca3118aa7c786f2b945328fedc23eb0c1a6d0;p=wvm%2Fgitlab.git Fix markdown helper spec Signed-off-by: Dmitriy Zaporozhets --- diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb index 6afd4b5f0..0c25fa66e 100644 --- a/spec/helpers/gitlab_markdown_helper_spec.rb +++ b/spec/helpers/gitlab_markdown_helper_spec.rb @@ -393,7 +393,7 @@ describe GitlabMarkdownHelper do end it "should leave ref-like href of 'manual' links untouched" do - markdown("why not [inspect !#{merge_request.iid}](http://example.tld/#!#{merge_request.iid})").should == "

why not inspect !#{merge_request.iid}

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

why not inspect !#{merge_request.iid}

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