diff options
Diffstat (limited to 'spec/serializers/discussion_entity_spec.rb')
-rw-r--r-- | spec/serializers/discussion_entity_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/serializers/discussion_entity_spec.rb b/spec/serializers/discussion_entity_spec.rb index 0fe10ed2c6d..4b818ce35e6 100644 --- a/spec/serializers/discussion_entity_spec.rb +++ b/spec/serializers/discussion_entity_spec.rb @@ -53,13 +53,6 @@ RSpec.describe DiscussionEntity do .to match_schema('entities/note_user_entity') end - it 'exposes the url for custom award emoji' do - custom_emoji = create(:custom_emoji, group: group) - create(:award_emoji, awardable: note, name: custom_emoji.name) - - expect(subject[:notes].last[:award_emoji].first.keys).to include(:url) - end - context 'when is LegacyDiffDiscussion' do let(:discussion) { create(:legacy_diff_note_on_merge_request, noteable: note.noteable, project: project).to_discussion } |