gitlab-org--gitlab-foss/spec/graphql/types/issue_type_enum_spec.rb

14 lines
352 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Types::IssueTypeEnum do
specify { expect(described_class.graphql_name).to eq('IssueType') }
it 'exposes all the existing issue type values except for task' do
expect(described_class.values.keys).to match_array(
%w[ISSUE INCIDENT TEST_CASE REQUIREMENT]
)
end
end