|
|
@ -168,7 +168,7 @@ RSpec.describe Validations::PropertyValidations do |
|
|
|
|
|
|
|
|
|
|
|
it "expects that the letting source can be a referral" do |
|
|
|
it "expects that the letting source can be a referral" do |
|
|
|
log.prevten = 0 |
|
|
|
log.prevten = 0 |
|
|
|
record.referral_type = 101 |
|
|
|
log.referral_type = 101 |
|
|
|
log.referral = 2 |
|
|
|
log.referral = 2 |
|
|
|
property_validator.validate_rsnvac(log) |
|
|
|
property_validator.validate_rsnvac(log) |
|
|
|
expect(log.errors["rsnvac"]).to be_empty |
|
|
|
expect(log.errors["rsnvac"]).to be_empty |
|
|
|