debian-mirror-gitlab/spec/graphql/types/award_emojis/award_emoji_type_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
392 B
Ruby
Raw Normal View History

2019-09-30 21:07:59 +05:30
# frozen_string_literal: true
require 'spec_helper'
2020-07-28 23:09:34 +05:30
RSpec.describe GitlabSchema.types['AwardEmoji'] do
2020-05-24 23:13:21 +05:30
specify { expect(described_class.graphql_name).to eq('AwardEmoji') }
2019-09-30 21:07:59 +05:30
2020-05-24 23:13:21 +05:30
specify { expect(described_class).to require_graphql_authorizations(:read_emoji) }
2019-09-30 21:07:59 +05:30
2020-05-24 23:13:21 +05:30
specify { expect(described_class).to have_graphql_fields(:description, :unicode_version, :emoji, :name, :unicode, :user) }
2019-09-30 21:07:59 +05:30
end