From 1f5e58c6f9cdfb0190fe7184ce801abbd07fa421 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Tue, 25 Jul 2023 10:29:50 +0100 Subject: [PATCH] feat: update helpdesk link --- app/views/organisations/show.html.erb | 2 +- spec/requests/organisations_controller_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/organisations/show.html.erb b/app/views/organisations/show.html.erb index 87020120d..2628ab819 100644 --- a/app/views/organisations/show.html.erb +++ b/app/views/organisations/show.html.erb @@ -37,7 +37,7 @@ <%= data_sharing_agreement_row(organisation: @organisation, user: current_user, summary_list:) %> <% end %> <% if FeatureToggle.merge_organisations_enabled? %> -

Is your organisation merging with another? <%= govuk_link_to "Let us know using this form", merge_request_organisation_path(@organisation) %>

+

To report a merge or update your organisation details, <%= govuk_link_to "contact the helpdesk", "https://dluhcdigital.atlassian.net/servicedesk/customer/portal/6/group/11" %>.

<% end %> diff --git a/spec/requests/organisations_controller_spec.rb b/spec/requests/organisations_controller_spec.rb index 896f760ba..bacb5ca33 100644 --- a/spec/requests/organisations_controller_spec.rb +++ b/spec/requests/organisations_controller_spec.rb @@ -268,8 +268,8 @@ RSpec.describe OrganisationsController, type: :request do end it "displays a link to merge organisations" do - expect(page).to have_content("Is your organisation merging with another?") - expect(page).to have_link("Let us know using this form", href: "/organisations/#{organisation.id}/merge-request") + expect(page).to have_content("To report a merge or update your organisation details, ") + expect(page).to have_link("contact the helpdesk", href: "https://dluhcdigital.atlassian.net/servicedesk/customer/portal/6/group/11") end end