Browse Source

More fixes

pull/2432/head
Kat 2 years ago
parent
commit
2f99b0aa01
  1. 2
      spec/models/validations/household_validations_spec.rb

2
spec/models/validations/household_validations_spec.rb

@ -5,7 +5,7 @@ RSpec.describe Validations::HouseholdValidations do
let(:validator_class) { Class.new { include Validations::HouseholdValidations } } let(:validator_class) { Class.new { include Validations::HouseholdValidations } }
let(:startdate) { Time.zone.now } let(:startdate) { Time.zone.now }
let(:record) { FactoryBot.build(:lettings_log, :setup_completed, startdate:) } let(:record) { FactoryBot.build(:lettings_log, :setup_completed, startdate:, assigned_to: create(:user)) }
describe "reasonable preference validations" do describe "reasonable preference validations" do
context "when reasonable preference is not given" do context "when reasonable preference is not given" do

Loading…
Cancel
Save