Skip to content

Commit f957323

Browse files
authored
Merge pull request #5368 from rubyforgood/#5360-Change-"Review-Application"-on-dashboard-to-"Review-Applicant's-Profile"
#5360 change "review application" on dashboard to "review applicant's profile"
2 parents 3d77ce3 + 2013483 commit f957323

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/views/dashboard/_partner_approvals.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<td><%= partner.profile.primary_contact_email %></td>
2424
<td><%= partner.updated_at.strftime("%B %d %Y") %></td>
2525
<td>
26-
<%= view_button_to partner_path(partner) + "#partner-information", { text: "Review Application", icon: "check", type: "warning", class: 'badge' } %>
26+
<%= view_button_to partner_path(partner) + "#partner-information", { text: "Review Applicant's Profile", icon: "check", type: "warning", class: 'badge' } %>
2727
</td>
2828
</tr>
2929
<% end %>

spec/system/dashboard_system_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,13 @@
173173
expect(page).to have_content partner.name
174174
expect(page).to have_content partner.profile.primary_contact_email
175175
expect(page).to have_content partner.profile.primary_contact_name
176-
expect(page).to have_link "Review Application", href: partner_path(id: partner) + "#partner-information"
176+
expect(page).to have_link "Review Applicant's Profile", href: partner_path(id: partner) + "#partner-information"
177177
end
178178
[partner_hidden1, partner_hidden2].each do |hidden_partner|
179179
expect(page).to_not have_content hidden_partner.name
180180
expect(page).to_not have_content hidden_partner.profile.primary_contact_email
181181
expect(page).to_not have_content hidden_partner.profile.primary_contact_name
182-
expect(page).to_not have_link "Review Application", href: partner_path(id: hidden_partner) + "#partner-information"
182+
expect(page).to_not have_link "Review Applicant's Profile", href: partner_path(id: hidden_partner) + "#partner-information"
183183
end
184184
end
185185
end

0 commit comments

Comments
 (0)