gitlab-org--gitlab-foss/spec/factories/milestones.rb
2016-03-04 15:26:51 -05:00

12 lines
178 B
Ruby

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