expect(storage_service).toreceive(:write_file).with("MissingAnswersReportSalesLog_report_suffix.csv","\uFEFFMissing answers,Total number of affected logs\n")
expect(storage_service).toreceive(:write_file).with("MissingAnswersReportSalesLog_report_suffix.csv","\uFEFFMissing answers,Total number of affected logs\n")
expect(storage_service).toreceive(:write_file).with("MissingAnswersExamplesSalesLog_report_suffix.csv","\uFEFFMissing answers,Organisation ID,Log ID,Old Form ID\n")
expect(storage_service).toreceive(:write_file).with("MissingAnswersExamplesSalesLog_report_suffix.csv","\uFEFFMissing answers,Organisation ID,Log ID,Old Form ID,Old Log ID\n")
@ -168,7 +168,7 @@ RSpec.describe Imports::ImportReportService do
it"generates a csv with expected missing fields"do
it"generates a csv with expected missing fields"do
expect(storage_service).toreceive(:write_file).with("MissingAnswersReportLettingsLog_report_suffix.csv","\uFEFFMissing answers,Total number of affected logs\n")
expect(storage_service).toreceive(:write_file).with("MissingAnswersReportLettingsLog_report_suffix.csv","\uFEFFMissing answers,Total number of affected logs\n")
expect(storage_service).toreceive(:write_file).with("MissingAnswersExamplesLettingsLog_report_suffix.csv","\uFEFFMissing answers,Organisation ID,Log ID,Old Form ID\n")
expect(storage_service).toreceive(:write_file).with("MissingAnswersExamplesLettingsLog_report_suffix.csv","\uFEFFMissing answers,Organisation ID,Log ID,Old Form ID,Old Log ID\n")