diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2013-01-17 01:39:45 +0400 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2013-01-17 01:39:45 +0400 |
commit | 16b54178422b5e84e0ddd61a7a44306d7b164707 (patch) | |
tree | 78b5524c1764cb82686cff0ff99fb98413cd79fa /spec | |
parent | 7635afd0c4872e2552413b17b1a63bae76e62e45 (diff) |
Use image Urls for Emoji in GFM
Fixes #2617
Diffstat (limited to 'spec')
-rw-r--r-- | spec/helpers/gitlab_markdown_helper_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb index 7b51efdbba5..b7e16f1ee26 100644 --- a/spec/helpers/gitlab_markdown_helper_spec.rb +++ b/spec/helpers/gitlab_markdown_helper_spec.rb @@ -343,5 +343,9 @@ describe GitlabMarkdownHelper do it "should generate absolute urls for refs" do markdown("##{issue.id}").should include(project_issue_url(project, issue)) end + + it "should generate absolute urls for emoji" do + markdown(":smile:").should include("src=\"#{url_to_image("emoji/smile")}") + end end end |