diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-09 02:01:42 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-09 02:01:42 +0400 |
commit | d98b1833612af09fb405880ef7acd63a4e2a42fa (patch) | |
tree | aeaccad8bca98675765206f2856db2509c3c29bf /spec/factories.rb | |
parent | 23d950855d6d2524d00b1f0618c008e2529f06a4 (diff) |
first pack of tests for milestones
Diffstat (limited to 'spec/factories.rb')
-rw-r--r-- | spec/factories.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories.rb b/spec/factories.rb index af0b8acb2cb..4e11a48bfe9 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -75,3 +75,8 @@ Factory.add(:event, Event) do |obj| obj.title = Faker::Lorem.sentence obj.project = Factory(:project) end + +Factory.add(:milestone, Milestone) do |obj| + obj.title = Faker::Lorem.sentence + obj.due_date = Date.today + 1.month +end |