gitlab-org--gitlab-foss/spec/factories/iteration_cadences.rb

13 lines
270 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
sequence(:cadence_sequential_date) do |n|
n.days.from_now
end
factory :iterations_cadence, class: 'Iterations::Cadence' do
title
group
start_date { generate(:cadence_sequential_date) }
end
end