Display the same results for stats and recounts

In the recounts we were incorrectly assuming the total amount included
the blank and invalid ballots.
This commit is contained in:
Javi Martín
2019-05-30 13:58:31 +02:00
parent 6881ee134a
commit 123196e4ed
4 changed files with 9 additions and 11 deletions

View File

@@ -273,7 +273,7 @@ describe "Admin polls" do
end
2.times do
create(:poll_voter, poll: poll, booth_assignment: booth_assignment_final_recounted)
create(:poll_voter, :from_booth, poll: poll, booth_assignment: booth_assignment_final_recounted)
end
create(:poll_recount,