summaryrefslogtreecommitdiff
path: root/spec/graphql/types/award_emojis/award_emoji_type_spec.rb
blob: 3c43c5f8e42491d0ce1b83e81f9259e472d4a497 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['AwardEmoji'] do
  specify { expect(described_class.graphql_name).to eq('AwardEmoji') }

  specify { expect(described_class).to require_graphql_authorizations(:read_emoji) }

  specify { expect(described_class).to have_graphql_fields(:description, :unicode_version, :emoji, :name, :unicode, :user) }
end