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

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

require 'spec_helper'

RSpec.describe GitlabSchema.types['SecurityReportTypeEnum'] do
  it 'exposes all security report types' do
    expect(described_class.values.keys).to contain_exactly(
      *::Security::SecurityJobsFinder.allowed_job_types.map(&:to_s).map(&:upcase)
    )
  end
end