gitlab-org--gitlab-foss/spec/graphql/types/security/report_types_enum_spec.rb

12 lines
319 B
Ruby

# 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