diff options
author | Andrew8xx8 <avk@8xx8.ru> | 2013-02-18 13:38:29 +0400 |
---|---|---|
committer | Andrew8xx8 <avk@8xx8.ru> | 2013-02-18 14:43:50 +0400 |
commit | b607c70e8fc53adfd3472c98f573bf96d903b822 (patch) | |
tree | bad71a109ce90a980b593a46cf20813e0e2a84fa /spec/factories.rb | |
parent | 0b4f4fe157828430eb7b7a0d88c022d72fa01637 (diff) | |
download | gitlab-ce-b607c70e8fc53adfd3472c98f573bf96d903b822.tar.gz |
Additional tests added to Milestone
Diffstat (limited to 'spec/factories.rb')
-rw-r--r-- | spec/factories.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories.rb b/spec/factories.rb index 3f357b79496..74fcd111883 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -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 |