Skip to content

Commit 22fff01

Browse files
committed
Update text in request for distribution email
1 parent 9d09afe commit 22fff01

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

app/views/requests_confirmation_mailer/confirmation_email.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<% end %>
88
</ul>
99

10-
<p>You will receive a notification when a distribution has been created of the pick-up time and date.</p>
10+
<p>You will receive a notification when a distribution has been created.</p>
1111

1212
<p>Your friends at</p>
1313
<p><%= @organization.name %></p>

app/views/requests_confirmation_mailer/confirmation_email.text.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This email confirms that <%= @organization.name %> has received a request<%= " s
55
<%= item_request.item_name %> - <%= item_request.quantity_with_units %>
66
<% end %>
77

8-
You will receive a notification when a distribution has been created of the pick-up time and date.
8+
You will receive a notification when a distribution has been created.
99

1010
Your friends at
1111
<%= @organization.name %>

spec/mailers/requests_confirmation_mailer_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
organization.update!(email: "me@org.com")
1919
expect(mail.body.encoded).to match('This email confirms')
2020
expect(mail.body.encoded).to match('For more info, please e-mail me@org.com')
21+
expect(mail.body.encoded).to match('You will receive a notification when a distribution has been created.')
2122
end
2223

2324
it 'CCs the organization if they opt in' do

0 commit comments

Comments
 (0)