Skip to content

Commit

Permalink
add class comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yoomlam committed Sep 1, 2020
1 parent c27e30e commit fec2397
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions app/workflows/bulk_task_assignment.rb
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 1 addition & 4 deletions spec/workflows/bulk_task_assignment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fec2397

Please sign in to comment.