diff --git a/db/seeds/37signals.rb b/db/seeds/37signals.rb index f2d319d26..e1f3ed145 100644 --- a/db/seeds/37signals.rb +++ b/db/seeds/37signals.rb @@ -12,7 +12,9 @@ create_collection("Fizzy", access_to: [ jason, jz, kevin ]).tap do |fizzy| create_card("Prepare sign-up page", description: "We need to do this before the launch.", collection: fizzy).tap do |card| card.toggle_assignment(kevin) - card.engage + if stage = card.workflow&.stages&.sample + card.change_stage_to(stage) + end end create_card("Plain text mentions", description: "We'll support plain text mentions first.", collection: fizzy).tap do |card| diff --git a/db/seeds/honcho.rb b/db/seeds/honcho.rb index 70cbf958d..1ad072ba7 100644 --- a/db/seeds/honcho.rb +++ b/db/seeds/honcho.rb @@ -75,7 +75,9 @@ collections.each_with_index do |collection_name, index| travel rand(0..20).minutes case rand(3) when 0 - card.engage + if stage = card.workflow&.stages&.sample + card.change_stage_to(stage) + end when 1 card.close # 2 remains open