Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-03-03 20:56:02 +0300
committerEric Eastwood <contact@ericeastwood.com>2017-03-06 21:54:46 +0300
commitf602efea65c2a816c7e29be546d2eb412fe538cc (patch)
tree3b58078142d489dd2cd69a782830e92f687b3ca3 /spec/support/matchers
parent2d6492561c8b34595abc3638f8991d7aa6af7151 (diff)
Fix wrong image src with cached gl-emoji and relative root
Diffstat (limited to 'spec/support/matchers')
-rw-r--r--spec/support/matchers/markdown_matchers.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/matchers/markdown_matchers.rb b/spec/support/matchers/markdown_matchers.rb
index 13fc619d647..bbbbaf4c5e8 100644
--- a/spec/support/matchers/markdown_matchers.rb
+++ b/spec/support/matchers/markdown_matchers.rb
@@ -29,7 +29,8 @@ module MarkdownMatchers
expect(actual).to have_selector('gl-emoji', count: 10)
emoji_element = actual.at_css('gl-emoji')
- expect(emoji_element['data-fallback-src'].to_s).to start_with('/assets')
+ expect(emoji_element['data-name'].to_s).not_to be_empty
+ expect(emoji_element['data-unicode-version'].to_s).not_to be_empty
end
end