From 2e2565ade6faf95c14d633a86e83ed5a4d4f0a28 Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Fri, 13 Jan 2023 17:56:42 +0000 Subject: [PATCH] fix: typo in property validation method name --- app/models/validations/sales/property_validations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/validations/sales/property_validations.rb b/app/models/validations/sales/property_validations.rb index 3478df568..80c72d327 100644 --- a/app/models/validations/sales/property_validations.rb +++ b/app/models/validations/sales/property_validations.rb @@ -8,7 +8,7 @@ module Validations::Sales::PropertyValidations end end - def validate_propert_unit_type(record) + def validate_property_unit_type(record) return if record.proptype.blank? || record.beds.blank? unless record.proptype != 2 || record.beds <= 1