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

require 'spec_helper'

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

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