Browse Source

Add test expectation

pull/2132/head
Kat 2 years ago
parent
commit
6b8d8f67e7
  1. 1
      spec/services/csv/lettings_log_csv_service_spec.rb

1
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 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).not_to include "rent_type"
expect(headers).to include(*%w[wrent renttype renttype_detail]) expect(headers).to include(*%w[wrent renttype renttype_detail])
expect(headers).not_to include("rent_type_detail")
end end
end end

Loading…
Cancel
Save