Skip to content

Commit

Permalink
Merge pull request #1247 from MITLibraries/etd-645-publication-result…
Browse files Browse the repository at this point in the history
…s-email

Adjust language in publication results email
  • Loading branch information
jazairi authored Nov 6, 2023
2 parents af23f2e + abf8228 commit 337eb35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/report_mailer/publication_results_email.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ul>
<li>Total theses in output queue: <%= @results[:total] %></li>
<li>Total theses updated: <%= @results[:processed] %></li>
<li>Total theses sent to preservation: <%= @results[:preservation_ready].count %>
<li>Total theses queued for preservation: <%= @results[:preservation_ready].count %>
<li>Total theses exported as MARC: <%= @results[:marc_exports].count %>
<li>Errors found: <%= @results[:errors].count %></li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion test/mailers/report_mailer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ReportMailerTest < ActionMailer::TestCase
assert_match 'Total theses in output queue: 2', email.body.to_s
assert_match 'Total theses updated: 1', email.body.to_s
assert_match 'Errors found: 1', email.body.to_s
assert_match 'Total theses sent to preservation: 0', email.body.to_s
assert_match 'Total theses queued for preservation: 0', email.body.to_s
assert_match 'Total theses exported as MARC: 1', email.body.to_s
assert_match 'Couldn&#39;t find Thesis with &#39;id&#39;=9999999999999', email.body.to_s
end
Expand Down

0 comments on commit 337eb35

Please sign in to comment.