diff --git a/app/jobs/data_warehouse/table_summary_stats_export_job.rb b/app/jobs/data_warehouse/table_summary_stats_export_job.rb index b6040808793..3f74bb85198 100644 --- a/app/jobs/data_warehouse/table_summary_stats_export_job.rb +++ b/app/jobs/data_warehouse/table_summary_stats_export_job.rb @@ -2,7 +2,7 @@ module DataWarehouse class TableSummaryStatsExportJob < BaseJob - REPORT_NAME = 'idp_max_ids' + REPORT_NAME = 'table_summary_stats' def perform(timestamp) data = fetch_table_max_ids_and_counts(timestamp) diff --git a/spec/jobs/data_warehouse/table_summary_stats_export_job_spec.rb b/spec/jobs/data_warehouse/table_summary_stats_export_job_spec.rb index 2f947d4dcf9..45e022abb9f 100644 --- a/spec/jobs/data_warehouse/table_summary_stats_export_job_spec.rb +++ b/spec/jobs/data_warehouse/table_summary_stats_export_job_spec.rb @@ -87,7 +87,7 @@ context 'when uploading to S3' do it 'uploads a file to S3 based on the report date' do expect(job).to receive(:upload_file_to_s3_bucket).with( - path: 'idp_max_ids/2024/2024-10-10_idp_max_ids.json', + path: 'table_summary_stats/2024/2024-10-10_table_summary_stats.json', **s3_metadata, ).exactly(1).time.and_call_original