summaryrefslogtreecommitdiff
path: root/spec/graphql/types/description_version_type_spec.rb
blob: 36bb1af7f7bff16424194a82d5a66c0bf98da0f1 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['DescriptionVersion'], feature_category: :team_planning do
  it { expect(described_class).to have_graphql_field(:id) }
  it { expect(described_class).to have_graphql_field(:description) }

  specify { expect(described_class).to require_graphql_authorizations(:read_issuable) }
end