Skip to content

Commit

Permalink
updated params in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
wmedders21 committed Dec 20, 2023
1 parent 425166a commit 6c8b161
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/controllers/correspondence_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@
MailTeam.singleton.add_user(current_user)
User.authenticate!(user: current_user)
correspondence.update(veteran: veteran)
appeal_ids = esw_tasks.map { |task| Task.find(task[:task_id]).appeal.id }
post :process_intake, params: {
correspondence_uuid: correspondence.uuid,
related_correspondence_uuids: related_correspondence_uuids,
waived_evidence_submission_window_tasks: esw_tasks
waived_evidence_submission_window_tasks: esw_tasks,
related_appeal_ids: appeal_ids
}
end
it "responds with created status" do
Expand Down

0 comments on commit 6c8b161

Please sign in to comment.