Skip to content

Commit 8fe4485

Browse files
authored
update the email that partners get when they are approved (#4795)
1 parent bd8227b commit 8fe4485

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ PLATFORMS
704704
arm64-darwin-21
705705
arm64-darwin-22
706706
arm64-darwin-23
707+
arm64-darwin-24
707708
x86_64-darwin-20
708709
x86_64-darwin-21
709710
x86_64-darwin-22
@@ -798,4 +799,4 @@ DEPENDENCIES
798799
webmock (~> 3.24)
799800

800801
BUNDLED WITH
801-
2.5.22
802+
2.5.23

app/views/partner_mailer/application_approved.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<p>Hi <%= @partner.name %></p>
99

1010
<p>
11-
<%= @organization.name %> has approved your application.
11+
You have been approved to make requests for essentials to <%= @organization.name %>.
1212
<br>
1313
<%= link_to "Check out your dashboard", partners_dashboard_url %>
1414
</p>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Hi <%= @partner.name %>
22

3-
<%= @organization.name %> has approved your application.
3+
You have been approved to make requests for essentials to <%= @organization.name %>.
44

55
Check out your dashboard: <%= partners_dashboard_url %>

spec/mailers/partner_mailer_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
it "renders the body with text that indicates the result and a link to their dashboard" do
3030
expect(subject.body.encoded).to include("Hi #{partner.name}")
31-
expect(subject.body.encoded).to include("#{partner.organization.name} has approved your application.")
31+
expect(subject.body.encoded).to include("You have been approved to make requests for essentials to #{partner.organization.name}.")
3232
expect(subject.body.encoded).to include("/partners/dashboard")
3333
end
3434
end

0 commit comments

Comments
 (0)