Skip to content
Browse files

another small mistake in the seeds

  • Loading branch information...
1 parent 697c3a6 commit a26f9ddf3c255504307c23285bc5619039d2527c @PragTob committed Apr 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 db/seeds.rb
View
3 db/seeds.rb
@@ -112,7 +112,8 @@ def assign_attributes_to_user_story(user_story, sprint_id, start_time, close_tim
(1..5).each do |i|
story = UserStory.new( name: "user story #{i}",
priority: Random.rand(3) + 1,
- estimation: Random.rand(5) + 1)
+ estimation: Random.rand(5) + 1,
+ status: "completed")
story.created_at = DateTime.now - 16 + Random.rand(5)
assign_attributes_to_user_story story, sprint2.id, DateTime.now - 16 + i, DateTime.now - 16 + 2*i

0 comments on commit a26f9dd

Please sign in to comment.
Something went wrong with that request. Please try again.