Browse Source

feat: update helpdesk link (#1800)

CLDC-2105-merge-orgs-owning-org-dropdown
natdeanlewissoftwire 1 year ago committed by GitHub
parent
commit
f66cef8f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/organisations/show.html.erb
  2. 4
      spec/requests/organisations_controller_spec.rb

2
app/views/organisations/show.html.erb

@ -37,7 +37,7 @@
<%= data_sharing_agreement_row(organisation: @organisation, user: current_user, summary_list:) %> <%= data_sharing_agreement_row(organisation: @organisation, user: current_user, summary_list:) %>
<% end %> <% end %>
<% if FeatureToggle.merge_organisations_enabled? %> <% if FeatureToggle.merge_organisations_enabled? %>
<p>Is your organisation merging with another? <%= govuk_link_to "Let us know using this form", merge_request_organisation_path(@organisation) %></p> <p>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" %>.</p>
<% end %> <% end %>
</div> </div>

4
spec/requests/organisations_controller_spec.rb

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

Loading…
Cancel
Save