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

13 lines
178 B
Ruby
Raw Normal View History

FactoryGirl.define do
factory :milestone do
title
project
trait :closed do
state :closed
end
factory :closed_milestone, traits: [:closed]
end
end