From ae05c05deef6a51e81d9990188be99ab72c7aa29 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Mon, 18 Oct 2021 10:08:13 +0100 Subject: [PATCH] Linting --- app/models/case_log.rb | 2 +- spec/requests/case_log_controller_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/case_log.rb b/app/models/case_log.rb index a6e07adcc..46d766ccc 100644 --- a/app/models/case_log.rb +++ b/app/models/case_log.rb @@ -1,5 +1,5 @@ class CaseLogValidator < ActiveModel::Validator - # Methods to be used on save and continue need to be named 'validate_' + # Methods to be used on save and continue need to be named 'validate_' # followed by field name this is how the metaprogramming of the method # name being call in the validate method works. diff --git a/spec/requests/case_log_controller_spec.rb b/spec/requests/case_log_controller_spec.rb index 89e275694..9dab538b0 100644 --- a/spec/requests/case_log_controller_spec.rb +++ b/spec/requests/case_log_controller_spec.rb @@ -35,7 +35,7 @@ RSpec.describe CaseLogsController, type: :request do "tenant_code": tenant_code, "tenant_age": tenant_age, "property_postcode": property_postcode, - "property_number_of_times_relet": property_number_of_times_relet + "property_number_of_times_relet": property_number_of_times_relet, } end