diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-10-10 08:24:58 +0200 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-10-10 08:24:58 +0200 |
commit | 1d14676e0ce0db006058e02aa0ceedf9c05e5625 (patch) | |
tree | 4f98d46f5506c1be24f5b61c57feb0ee869fece7 /spec | |
parent | a912308340ec70f13de98ae5116a8d71929a995f (diff) | |
download | gitlab-ce-1d14676e0ce0db006058e02aa0ceedf9c05e5625.tar.gz |
Substitute right single quote back with apostrophe.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/helpers/gitlab_markdown_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb index 0784834924c..f5e68687b53 100644 --- a/spec/helpers/gitlab_markdown_helper_spec.rb +++ b/spec/helpers/gitlab_markdown_helper_spec.rb @@ -535,7 +535,7 @@ describe GitlabMarkdownHelper do project.issues.stub(:where).with(iid: '39').and_return([issue]) actual = "Yes, it is @#{member.user.username}'s task." - expected = /Yes, it is <a.+>@#{member.user.username}<\/a>’s task/ + expected = /Yes, it is <a.+>@#{member.user.username}<\/a>'s task/ markdown(actual).should match(expected) end @@ -574,7 +574,7 @@ describe GitlabMarkdownHelper do it "should leave inline code untouched" do markdown("\nDon't use `$#{snippet.id}` here.\n").should == - "<p>Don’t use <code>$#{snippet.id}</code> here.</p>\n" + "<p>Don't use <code>$#{snippet.id}</code> here.</p>\n" end it "should leave ref-like autolinks untouched" do |