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

custom_emoji_type_spec.rb « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7f3c99e4b637ab90879d424ac9edec7770b6ad68 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

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

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

  specify { expect(described_class).to have_graphql_fields(:id, :name, :url, :external) }
end