diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2017-12-22 00:15:50 +0300 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2017-12-24 14:14:17 +0300 |
commit | 6185ce0c84b5674abf4f54576fec44fece571565 (patch) | |
tree | 2c2a3bf90a4beb10628477bc22b37c9c7d056202 /spec/features/groups | |
parent | 2972352a9c6912adfd77b480472eb13b832a6c3b (diff) |
Rendering of emoji's in Group-Overview
Allows rendering of emoji's in the Group Overview.
Diffstat (limited to 'spec/features/groups')
-rw-r--r-- | spec/features/groups/show_spec.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/features/groups/show_spec.rb b/spec/features/groups/show_spec.rb index 7fc2b383749..ceccc471405 100644 --- a/spec/features/groups/show_spec.rb +++ b/spec/features/groups/show_spec.rb @@ -55,4 +55,20 @@ feature 'Group show page' do end end end + + context 'group has a project with emoji in description', :js do + let(:user) { create(:user) } + let!(:project) { create(:project, description: ':smile:', namespace: group) } + + before do + group.add_owner(user) + sign_in(user) + visit path + end + + it 'shows the project info' do + expect(page).to have_content(project.title) + expect(page).to have_selector('gl-emoji[data-name="smile"]') + end + end end |