From c265bbf58a5864ac5d2f1dbbf699da353e969931 Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Thu, 30 Mar 2023 17:31:09 +0100 Subject: [PATCH] fix: update test to not mention specific CSV errors --- spec/mailers/bulk_upload_mailer_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/mailers/bulk_upload_mailer_spec.rb b/spec/mailers/bulk_upload_mailer_spec.rb index e28a5dd70..20f78de4d 100644 --- a/spec/mailers/bulk_upload_mailer_spec.rb +++ b/spec/mailers/bulk_upload_mailer_spec.rb @@ -90,11 +90,10 @@ RSpec.describe BulkUploadMailer do year_combo: bulk_upload.year_combo, lettings_or_sales: bulk_upload.log_type, summary_report_link: "http://localhost:3000/lettings-logs/bulk-upload-results/#{bulk_upload.id}", - error_description: "Please correct your data export and upload again.\n", }, ) - mailer.send_correct_and_upload_again_mail(bulk_upload:, errors: {}) + mailer.send_correct_and_upload_again_mail(bulk_upload:) end end end