Browse Source

feat: fix financial_validations_spec.rb

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

2
spec/models/validations/financial_validations_spec.rb

@ -86,7 +86,7 @@ RSpec.describe Validations::FinancialValidations do
end
context "when outstanding rent or charges is yes" do
let(:record) { FactoryBot.create(:lettings_log, :about_completed) }
let(:record) { FactoryBot.create(:lettings_log, :about_completed, startdate: Time.zone.now) }
it "expects that a shortfall is provided" do
record.hbrentshortfall = 1

Loading…
Cancel
Save