Browse Source

test: update

pull/1570/head
natdeanlewissoftwire 3 years ago
parent
commit
b5481d47cc
  1. 2
      spec/models/validations/financial_validations_spec.rb

2
spec/models/validations/financial_validations_spec.rb

@ -81,7 +81,7 @@ RSpec.describe Validations::FinancialValidations do
record.tshortfall = 99 record.tshortfall = 99
financial_validator.validate_outstanding_rent_amount(record) financial_validator.validate_outstanding_rent_amount(record)
expect(record.errors["tshortfall"]) expect(record.errors["tshortfall"])
.to include(match I18n.t("validations.financial.tshortfall.outstanding_amount_not_required")) .to include(match I18n.t("validations.financial.tshortfall.outstanding_amount_not_expected"))
end end
end end

Loading…
Cancel
Save