From 6b8d8f67e784a17e56e4e6a823cc3ac3fd87e260 Mon Sep 17 00:00:00 2001 From: Kat Date: Thu, 11 Jan 2024 15:16:09 +0000 Subject: [PATCH] Add test expectation --- spec/services/csv/lettings_log_csv_service_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/services/csv/lettings_log_csv_service_spec.rb b/spec/services/csv/lettings_log_csv_service_spec.rb index 886574c8a..bc0115688 100644 --- a/spec/services/csv/lettings_log_csv_service_spec.rb +++ b/spec/services/csv/lettings_log_csv_service_spec.rb @@ -90,6 +90,7 @@ RSpec.describe Csv::LettingsLogCsvService do it "removes some log attributes related to questions from the headers and replaces them with their derived values in the correct order" do expect(headers).not_to include "rent_type" expect(headers).to include(*%w[wrent renttype renttype_detail]) + expect(headers).not_to include("rent_type_detail") end end