diff --git a/Gemfile.lock b/Gemfile.lock index 39ffea9794..480023b0e5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -704,6 +704,7 @@ PLATFORMS arm64-darwin-21 arm64-darwin-22 arm64-darwin-23 + arm64-darwin-24 x86_64-darwin-20 x86_64-darwin-21 x86_64-darwin-22 @@ -798,4 +799,4 @@ DEPENDENCIES webmock (~> 3.24) BUNDLED WITH - 2.5.22 + 2.5.23 diff --git a/app/views/partner_mailer/application_approved.html.erb b/app/views/partner_mailer/application_approved.html.erb index 28a6c95db8..77640fdfb0 100644 --- a/app/views/partner_mailer/application_approved.html.erb +++ b/app/views/partner_mailer/application_approved.html.erb @@ -8,7 +8,7 @@

Hi <%= @partner.name %>

- <%= @organization.name %> has approved your application. + You have been approved to make requests for essentials to <%= @organization.name %>.
<%= link_to "Check out your dashboard", partners_dashboard_url %>

diff --git a/app/views/partner_mailer/application_approved.text.erb b/app/views/partner_mailer/application_approved.text.erb index 41f5def28e..776fcf75e9 100644 --- a/app/views/partner_mailer/application_approved.text.erb +++ b/app/views/partner_mailer/application_approved.text.erb @@ -1,5 +1,5 @@ Hi <%= @partner.name %> -<%= @organization.name %> has approved your application. +You have been approved to make requests for essentials to <%= @organization.name %>. Check out your dashboard: <%= partners_dashboard_url %> diff --git a/spec/mailers/partner_mailer_spec.rb b/spec/mailers/partner_mailer_spec.rb index 9aae8949ea..30403054bc 100644 --- a/spec/mailers/partner_mailer_spec.rb +++ b/spec/mailers/partner_mailer_spec.rb @@ -28,7 +28,7 @@ it "renders the body with text that indicates the result and a link to their dashboard" do expect(subject.body.encoded).to include("Hi #{partner.name}") - expect(subject.body.encoded).to include("#{partner.organization.name} has approved your application.") + expect(subject.body.encoded).to include("You have been approved to make requests for essentials to #{partner.organization.name}.") expect(subject.body.encoded).to include("/partners/dashboard") end end