diff --git a/spec/jobs/email_csv_job_spec.rb b/spec/jobs/email_csv_job_spec.rb index 80b1c8d1b..6ef96d1c9 100644 --- a/spec/jobs/email_csv_job_spec.rb +++ b/spec/jobs/email_csv_job_spec.rb @@ -72,7 +72,7 @@ describe EmailCsvJob do expect(CsvDownload.first.organisation).to eq(user.organisation) expect(CsvDownload.first.filename).to match(/lettings-logs-.*\.csv/) expect(CsvDownload.first.download_type).to eq("lettings") - expect(CsvDownload.first.expiration_time).to eq(86400) + expect(CsvDownload.first.expiration_time).to eq(86_400) end end @@ -117,7 +117,7 @@ describe EmailCsvJob do expect(CsvDownload.first.organisation).to eq(user.organisation) expect(CsvDownload.first.filename).to match(/sales-logs-.*\.csv/) expect(CsvDownload.first.download_type).to eq("sales") - expect(CsvDownload.first.expiration_time).to eq(86400) + expect(CsvDownload.first.expiration_time).to eq(86_400) end end diff --git a/spec/jobs/scheme_email_csv_job_spec.rb b/spec/jobs/scheme_email_csv_job_spec.rb index 16fc7b365..53873d0e7 100644 --- a/spec/jobs/scheme_email_csv_job_spec.rb +++ b/spec/jobs/scheme_email_csv_job_spec.rb @@ -59,7 +59,7 @@ describe SchemeEmailCsvJob do expect(CsvDownload.first.organisation).to eq(user.organisation) expect(CsvDownload.first.filename).to match(/schemes-.*\.csv/) expect(CsvDownload.first.download_type).to eq("schemes") - expect(CsvDownload.first.expiration_time).to eq(86400) + expect(CsvDownload.first.expiration_time).to eq(86_400) end end @@ -78,7 +78,7 @@ describe SchemeEmailCsvJob do expect(CsvDownload.first.organisation).to eq(user.organisation) expect(CsvDownload.first.filename).to match(/locations-.*\.csv/) expect(CsvDownload.first.download_type).to eq("locations") - expect(CsvDownload.first.expiration_time).to eq(86400) + expect(CsvDownload.first.expiration_time).to eq(86_400) end end @@ -97,7 +97,7 @@ describe SchemeEmailCsvJob do expect(CsvDownload.first.organisation).to eq(user.organisation) expect(CsvDownload.first.filename).to match(/schemes-and-locations-.*\.csv/) expect(CsvDownload.first.download_type).to eq("combined") - expect(CsvDownload.first.expiration_time).to eq(86400) + expect(CsvDownload.first.expiration_time).to eq(86_400) end end