Browse Source

fixup! CLDC-4188: Update tests

lint
CLDC-4151-new-referral-questions
Samuel Young 2 weeks ago
parent
commit
14e711af42
  1. 1
      spec/models/validations/household_validations_spec.rb

1
spec/models/validations/household_validations_spec.rb

@ -668,7 +668,6 @@ RSpec.describe Validations::HouseholdValidations do
{ code: 29, label: "Prison or approved probation hostel" }, { code: 29, label: "Prison or approved probation hostel" },
].each do |prevten| ].each do |prevten|
context "and prevten is #{prevten}" do context "and prevten is #{prevten}" do
it "adds an error" do it "adds an error" do
record.prevten = prevten[:code] record.prevten = prevten[:code]
household_validator.validate_previous_housing_situation(record) household_validator.validate_previous_housing_situation(record)

Loading…
Cancel
Save