Browse Source

fix: update test to not mention specific CSV errors

pull/1334/head
Sam Seed 3 years ago committed by Phil Lee
parent
commit
c265bbf58a
  1. 3
      spec/mailers/bulk_upload_mailer_spec.rb

3
spec/mailers/bulk_upload_mailer_spec.rb

@ -90,11 +90,10 @@ RSpec.describe BulkUploadMailer do
year_combo: bulk_upload.year_combo, year_combo: bulk_upload.year_combo,
lettings_or_sales: bulk_upload.log_type, lettings_or_sales: bulk_upload.log_type,
summary_report_link: "http://localhost:3000/lettings-logs/bulk-upload-results/#{bulk_upload.id}", 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 end
end end

Loading…
Cancel
Save