updates dev seeds with booths

This commit is contained in:
rgarcia
2016-09-28 11:54:29 +02:00
committed by kikito
parent 6e6d2ac753
commit c4bc484afb

View File

@@ -363,4 +363,8 @@ puts "Creating polls"
3.times.each_with_index do |i|
Poll.create(name: "Poll #{i}")
end
10.times.each_with_index do |i|
Poll::Booth.create(name: "Booth #{i}", poll: Poll.all.sample)
end