diff options
Diffstat (limited to 'db/seeds.rb')
-rw-r--r-- | db/seeds.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/seeds.rb b/db/seeds.rb index cd12661..0fff605 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -52,3 +52,14 @@ agendas = Agenda.create([ :end_at => 16.days.from_now, :owner_id => users[1].id} ]) + +puts 'adding agenda_items...' +agenda_items = AgendaItem.create([ + { :name => 'agenda_item_one', + :description => 'agenda item 1', + :owner_id => users[1].id}, + + { :name => 'agenda_item_two', + :description => 'agenda item 2', + :owner_id => users[1].id} +]) |