2020-10-24 23:57:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
RSpec.describe Types::IssueTypeEnum do
|
|
|
|
specify { expect(described_class.graphql_name).to eq('IssueType') }
|
|
|
|
|
2022-08-13 15:12:31 +05:30
|
|
|
it 'exposes all the existing issue type values' do
|
2022-01-26 12:08:38 +05:30
|
|
|
expect(described_class.values.keys).to match_array(
|
2022-08-13 15:12:31 +05:30
|
|
|
%w[ISSUE INCIDENT TEST_CASE REQUIREMENT TASK]
|
2020-10-24 23:57:45 +05:30
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|