summaryrefslogtreecommitdiff
path: root/spec/graphql/types/issue_type_enum_spec.rb
blob: cd1737c3ebb958a2bbfb14e892427b7b24dd8fb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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 key_result' do
    expect(described_class.values.keys).to match_array(
      %w[ISSUE INCIDENT TEST_CASE REQUIREMENT TASK OBJECTIVE]
    )
  end
end