diff --git a/app/mailers/bulk_upload_mailer.rb b/app/mailers/bulk_upload_mailer.rb index cb1fac03c..144acb3e1 100644 --- a/app/mailers/bulk_upload_mailer.rb +++ b/app/mailers/bulk_upload_mailer.rb @@ -83,7 +83,7 @@ class BulkUploadMailer < NotifyMailer .keys .sort_by { |_col, field| field } .map do |col, field| - "- Column #{col} (#{row_parser_class.question_for_field(field.to_sym)})" + "- #{row_parser_class.question_for_field(field.to_sym)} (Column #{col})" end send_email( diff --git a/spec/mailers/bulk_upload_mailer_spec.rb b/spec/mailers/bulk_upload_mailer_spec.rb index a0d9a3cd1..9f59de365 100644 --- a/spec/mailers/bulk_upload_mailer_spec.rb +++ b/spec/mailers/bulk_upload_mailer_spec.rb @@ -21,8 +21,8 @@ RSpec.describe BulkUploadMailer do let(:expected_errors) do [ - "- Column A (What is the letting type?)", - "- Column E (Management group code)", + "- What is the letting type? (Column A)", + "- Management group code (Column E)", ] end