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