diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-02-13 22:03:07 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-02-13 22:03:07 +0300 |
commit | f993130b136ca72c2dbecc92954a4fe6909ca2c9 (patch) | |
tree | 3f5515556286ae48f956c60c9b08aa4d754ff7cb /spec/helpers | |
parent | fe13f58f3e876e3329ca246db737268bf5b15000 (diff) |
Fix specs expecting `emoji/` in image path
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/gitlab_markdown_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb index 9a05b21335c..9adcd916ced 100644 --- a/spec/helpers/gitlab_markdown_helper_spec.rb +++ b/spec/helpers/gitlab_markdown_helper_spec.rb @@ -113,7 +113,7 @@ describe GitlabMarkdownHelper do it 'should replace commit message with emoji to link' do actual = link_to_gfm(':book:Book', '/foo') expect(actual). - to eq %Q(<img class="emoji" title=":book:" alt=":book:" src="http://localhost/assets/emoji/1F4D6.png" height="20" width="20" align="absmiddle"><a href="/foo">Book</a>) + to eq %Q(<img class="emoji" title=":book:" alt=":book:" src="http://localhost/assets/1F4D6.png" height="20" width="20" align="absmiddle"><a href="/foo">Book</a>) end end |