updates dev_seeds with polls

This commit is contained in:
rgarcia
2016-09-16 13:06:39 +02:00
committed by kikito
parent 503338e47b
commit 00721bac12

View File

@@ -358,3 +358,9 @@ Proposal.last(3).each do |proposal|
created_at: rand((Time.now - 1.week) .. Time.now))
puts " #{banner.title}"
end
puts "Creating polls"
3.times.each_with_index do |i|
Poll.create(name: "Poll #{i}")
end