From 92979b84b5d303f2cfcc0e87bc90ae7ea8aeb947 Mon Sep 17 00:00:00 2001 From: Julian Herrero Date: Wed, 6 Mar 2019 11:59:11 +0100 Subject: [PATCH] Set correct origin for booth poll votes --- spec/factories/polls.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/factories/polls.rb b/spec/factories/polls.rb index 6ddcdef9d..2de2c305b 100644 --- a/spec/factories/polls.rb +++ b/spec/factories/polls.rb @@ -92,6 +92,7 @@ FactoryBot.define do trait :from_booth do association :booth_assignment, factory: :poll_booth_assignment + origin "booth" end trait :valid_document do