debian-mirror-gitlab/spec/factories/work_items/hierarchy_restrictions.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
255 B
Ruby
Raw Normal View History

2023-03-04 22:38:38 +05:30
# 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