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

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

require 'spec_helper'

RSpec.describe Types::PermissionTypes::AbuseReport, feature_category: :insider_threat do
  it do
    expected_permissions = [
      :read_abuse_report, :create_note
    ]

    expected_permissions.each do |permission|
      expect(described_class).to have_graphql_field(permission)
    end
  end
end