gitlab-org--gitlab-foss/spec/graphql/types/ci/job_artifact_file_type_enum...

12 lines
315 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GitlabSchema.types['JobArtifactFileType'] do
it 'exposes all job artifact file types' do
expect(described_class.values.keys).to contain_exactly(
*::Ci::JobArtifact::TYPE_AND_FORMAT_PAIRS.keys.map(&:to_s).map(&:upcase)
)
end
end