Additional tests added to Milestone
This commit is contained in:
parent
0b4f4fe157
commit
b607c70e8f
2 changed files with 33 additions and 0 deletions
|
@ -163,6 +163,12 @@ FactoryGirl.define do
|
|||
factory :milestone do
|
||||
title
|
||||
project
|
||||
|
||||
trait :closed do
|
||||
state :closed
|
||||
end
|
||||
|
||||
factory :closed_milestone, traits: [:closed]
|
||||
end
|
||||
|
||||
factory :system_hook do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue