debian-mirror-gitlab/spec/factories/milestones.rb
2016-06-02 11:05:42 +05:30

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