diff --git a/app/workflows/bulk_task_assignment.rb b/app/workflows/bulk_task_assignment.rb index 21d194c82f8..88e99916aeb 100644 --- a/app/workflows/bulk_task_assignment.rb +++ b/app/workflows/bulk_task_assignment.rb @@ -1,5 +1,11 @@ # frozen_string_literal: true +# Assign multiple cases, which are selected based on parameters. +# Cases are prioritized in the following order: +# - CAVC AOD Cases +# - AOD Cases +# - CAVC Cases +# - remaining cases class BulkTaskAssignment include ActiveModel::Model diff --git a/spec/workflows/bulk_task_assignment_spec.rb b/spec/workflows/bulk_task_assignment_spec.rb index b651a8419a8..3a84617f8a7 100644 --- a/spec/workflows/bulk_task_assignment_spec.rb +++ b/spec/workflows/bulk_task_assignment_spec.rb @@ -136,10 +136,7 @@ end def create_no_show_hearing_task_for_appeal(appeal, creation_time = 1.day.ago) - create(:no_show_hearing_task, - appeal: appeal, - assigned_to: organization, - created_at: creation_time) + create(:no_show_hearing_task, appeal: appeal, assigned_to: organization, created_at: creation_time) end context "when there are priority appeals" do