diff --git a/app/views/idv/by_mail/enter_code/_did_not_receive_letter.html.erb b/app/views/idv/by_mail/enter_code/_did_not_receive_letter.html.erb
index de79f423d77..9dfab3507c4 100644
--- a/app/views/idv/by_mail/enter_code/_did_not_receive_letter.html.erb
+++ b/app/views/idv/by_mail/enter_code/_did_not_receive_letter.html.erb
@@ -42,7 +42,7 @@
<% if @can_request_another_letter %>
- <%= link_to t('idv.messages.gpo.resend'), idv_request_letter_path, class: 'display-block margin-top-4' %>
+ <%= link_to t('idv.messages.gpo.resend'), idv_resend_letter_path, class: 'display-block margin-top-4' %>
<% end %>
diff --git a/app/views/idv/by_mail/enter_code/_enter_code.html.erb b/app/views/idv/by_mail/enter_code/_enter_code.html.erb
index 6b8176ee69f..654b56c9181 100644
--- a/app/views/idv/by_mail/enter_code/_enter_code.html.erb
+++ b/app/views/idv/by_mail/enter_code/_enter_code.html.erb
@@ -44,7 +44,7 @@
<% if @can_request_another_letter %>
- <%= link_to t('idv.messages.gpo.resend'), idv_request_letter_path, class: 'display-block margin-top-4' %>
+ <%= link_to t('idv.messages.gpo.resend'), idv_resend_letter_path, class: 'display-block margin-top-4' %>
<% end %>
diff --git a/spec/features/idv/steps/request_letter_step_spec.rb b/spec/features/idv/steps/request_letter_step_spec.rb
index 6391530b29c..6c32f38a1de 100644
--- a/spec/features/idv/steps/request_letter_step_spec.rb
+++ b/spec/features/idv/steps/request_letter_step_spec.rb
@@ -93,11 +93,11 @@
# Confirm that user cannot visit other IdV pages while unverified
visit idv_agreement_path
- expect(page).to have_current_path(idv_letter_enqueued_path)
+ expect(page).to have_current_path(idv_verify_by_mail_enter_code_path)
visit idv_ssn_url
- expect(page).to have_current_path(idv_letter_enqueued_path)
+ expect(page).to have_current_path(idv_verify_by_mail_enter_code_path)
visit idv_verify_info_url
- expect(page).to have_current_path(idv_letter_enqueued_path)
+ expect(page).to have_current_path(idv_verify_by_mail_enter_code_path)
# complete verification: end to end gpo test
sign_out
diff --git a/spec/features/saml/ial2_sso_spec.rb b/spec/features/saml/ial2_sso_spec.rb
index e1367a68579..4d54ee8798a 100644
--- a/spec/features/saml/ial2_sso_spec.rb
+++ b/spec/features/saml/ial2_sso_spec.rb
@@ -137,7 +137,7 @@ def sign_out_user
click_link(t('idv.messages.gpo.resend'))
expect(user.events.account_verified.size).to be(0)
- expect(current_path).to eq(idv_request_letter_path)
+ expect(current_path).to eq(idv_resend_letter_path)
click_button(t('idv.gpo.request_another_letter.button'))
diff --git a/spec/views/idv/by_mail/enter_code/index.html.erb_spec.rb b/spec/views/idv/by_mail/enter_code/index.html.erb_spec.rb
index 3c9dc04d08b..7ec1c4d16f8 100644
--- a/spec/views/idv/by_mail/enter_code/index.html.erb_spec.rb
+++ b/spec/views/idv/by_mail/enter_code/index.html.erb_spec.rb
@@ -33,14 +33,14 @@
context 'user is allowed to request another GPO letter' do
it 'includes the send another letter link' do
- expect(rendered).to have_link(t('idv.messages.gpo.resend'), href: idv_request_letter_path)
+ expect(rendered).to have_link(t('idv.messages.gpo.resend'), href: idv_resend_letter_path)
end
end
context 'user is NOT allowed to request another GPO letter' do
let(:can_request_another_letter) { false }
it 'does not include the send another letter link' do
- expect(rendered).not_to have_link(t('idv.messages.gpo.resend'), href: idv_request_letter_path)
+ expect(rendered).not_to have_link(t('idv.messages.gpo.resend'), href: idv_resend_letter_path)
end
end
@@ -71,7 +71,7 @@
it 'links to requesting a new letter' do
expect(rendered).to have_link(
t('idv.messages.gpo.resend'),
- href: idv_request_letter_path,
+ href: idv_resend_letter_path,
)
end
@@ -104,7 +104,7 @@
it 'does not link to requesting a new letter' do
expect(rendered).to_not have_link(
t('idv.messages.gpo.resend'),
- href: idv_request_letter_path,
+ href: idv_resend_letter_path,
)
end
end