Set correct origin for booth poll votes
This commit is contained in:
@@ -92,6 +92,7 @@ FactoryBot.define do
|
|||||||
|
|
||||||
trait :from_booth do
|
trait :from_booth do
|
||||||
association :booth_assignment, factory: :poll_booth_assignment
|
association :booth_assignment, factory: :poll_booth_assignment
|
||||||
|
origin "booth"
|
||||||
end
|
end
|
||||||
|
|
||||||
trait :valid_document do
|
trait :valid_document do
|
||||||
|
|||||||
Reference in New Issue
Block a user