Merge pull request #3061 from microweb10/issue-3060

Fix failing spec: Poll::Shift officer_assignments creates and destroy corresponding officer_assignments
This commit is contained in:
Julian Nicolas Herrero
2018-12-02 19:22:07 +01:00
committed by GitHub

View File

@@ -24,7 +24,7 @@ class Poll
end
def create_officer_assignments
booth.booth_assignments.each do |booth_assignment|
booth.booth_assignments.order(:id).each do |booth_assignment|
attrs = {
officer_id: officer_id,
date: date,