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
|