adds booth backend for index, show, create and edit actions

This commit is contained in:
rgarcia
2016-09-28 11:56:19 +02:00
parent 7db3683c27
commit 2c3127b6bd
18 changed files with 288 additions and 85 deletions

View File

@@ -269,6 +269,7 @@ FactoryGirl.define do
factory :poll_booth, class: 'Poll::Booth' do
sequence(:name) { |n| "Booth #{n}" }
sequence(:location) { |n| "Street #{n}" }
poll
end