Skip to content

Commit

Permalink
Fix more reference to litigation complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
vertism committed Jan 9, 2025
1 parent 13b5159 commit 18607b1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
let(:params) do
{
current_step: "complaint-type",
offender_sar_complaint: offender_sar_base_params.merge(complaint_type: "litigation"),
offender_sar_complaint: offender_sar_base_params.merge(complaint_type: "litigation_complaint"),
}
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
end

context "when litigation complaint" do
let(:offender_sar_complaint) { build_stubbed(:offender_sar_complaint, complaint_type: "litigation", date_responded: Date.new(2020, 1, 10), received_date: Date.new(2020, 1, 1)).decorate }
let(:offender_sar_complaint) { build_stubbed(:offender_sar_complaint, complaint_type: "litigation_complaint", date_responded: Date.new(2020, 1, 10), received_date: Date.new(2020, 1, 1)).decorate }

it "returns Litigation" do
expect(offender_sar_complaint.complaint_type).to eq "Litigation"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
open_cases_page.case_filters.filter_cases_link.click
open_cases_page.case_filters.filter_complaint_type_link.click


open_cases_page.filter_complaint_type_content.complaint_litigation_checkbox.click
open_cases_page.case_filters.apply_filters_button.click

Expand Down

0 comments on commit 18607b1

Please sign in to comment.