error_description="We noticed that you have a lot of similar errors in column #{columns_with_errors(bulk_upload:)}. Please correct your data export and upload again."
any_setup_sections_incomplete_error_description="logs where the setup sections were incomplete"
over_column_error_threshold_error_description="logs with a lot of similar errors in column #{columns_with_errors(bulk_upload:)}"
any_logs_already_exist_error_description="logs you are trying to upload have been created previously"
errors_list=[]
errors_list<<iferrors.size.zero?
"Please correct your data export and upload again."
else
"We noticed the following issues with your upload:"
@ -144,6 +139,8 @@ RSpec.describe BulkUploadMailer do
end
end
it"sends correctly formed email with A, B, C and more"do
it"sends correctly formed email with A, B, C and more"do
error_description="We noticed the following issues with your upload:\n- logs where the setup sections were incomplete\n- logs with a lot of similar errors in column A, B, C and more\n- logs you are trying to upload have been created previously\n"