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

system_note_metadata_type_spec.rb « notes « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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