debian-mirror-gitlab/spec/factories/work_items/hierarchy_restrictions.rb
2023-03-05 14:24:40 +05:30

8 lines
255 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :hierarchy_restriction, class: 'WorkItems::HierarchyRestriction' do
parent_type { association :work_item_type, :default }
child_type { association :work_item_type, :default }
end
end