blob: 0d4d31faee1f9a0037bfa592f575652fac6388fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe ::Types::WorkItems::Widgets::HierarchyUpdateInputType do
it { expect(described_class.graphql_name).to eq('WorkItemWidgetHierarchyUpdateInput') }
it 'accepts documented arguments' do
expect(described_class.arguments.keys).to match_array(%w[parentId childrenIds adjacentWorkItemId relativePosition])
end
it 'sets the type of relative_position argument to RelativePositionTypeEnum' do
expect(described_class.arguments['relativePosition'].type).to eq(Types::RelativePositionTypeEnum)
end
end
|