summaryrefslogtreecommitdiff
path: root/spec/features/admin
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-04-11 10:34:42 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2018-04-11 10:51:44 +0200
commit2bf3846adcac843958837a32fafdeb63d067a532 (patch)
treeba1317eea7ac5bb9c7a2f4264e1394bf926c980b /spec/features/admin
parentc39e3f22ce12a302e294deb3523414e4a684b6fb (diff)
downloadgitlab-ce-2bf3846adcac843958837a32fafdeb63d067a532.tar.gz
Add matcher for emoji
Diffstat (limited to 'spec/features/admin')
-rw-r--r--spec/features/admin/admin_broadcast_messages_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/admin/admin_broadcast_messages_spec.rb b/spec/features/admin/admin_broadcast_messages_spec.rb
index 9cb351282a0..430a8d22b0f 100644
--- a/spec/features/admin/admin_broadcast_messages_spec.rb
+++ b/spec/features/admin/admin_broadcast_messages_spec.rb
@@ -45,7 +45,7 @@ feature 'Admin Broadcast Messages' do
page.within('.broadcast-message-preview') do
expect(page).to have_selector('strong', text: 'Markdown')
- expect(page).to have_selector('gl-emoji[data-name="tada"]')
+ expect(page).to have_emoji('tada')
end
end
end