Skip to content

Commit fb039c6

Browse files
committed
Fix incorrect links on /government/get-involved
These links were incorrect, presumably they are an artefact from what was used to copy+paste from originally. Interestingly these links actually have explicit tests in Smokey [1]. But it turns out they don't actually test correctly as they don't have an expect step [2]. As it is quite unusual to test at the fidelity of individual links in HTML (they're just testing you typed the same thing afterall) I've not added replacement tests. [1]: https://github.com/alphagov/smokey/blob/7553a432259d785fb6d4fb81cfd4fe3572185ad3/features/apps/government_frontend.feature#L23-L47 [2]: https://github.com/alphagov/smokey/blob/7553a432259d785fb6d4fb81cfd4fe3572185ad3/features/step_definitions/get_involved_page_steps.rb#L39-L41
1 parent 56a86f8 commit fb039c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/content_items/get_involved.html.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@
5353
<%= render "govuk_publishing_components/components/big_number", {
5454
number: @open_consultation_count,
5555
label: t('get_involved.open_consultations'),
56-
href: "/government/organisations#ministerial_departments"
56+
href: "/search/policy-papers-and-consultations?content_store_document_type=open_consultations"
5757
} %>
5858
</div>
5959
<div class="govuk-grid-column-two-thirds">
6060
<%= render "govuk_publishing_components/components/big_number", {
6161
number: @closed_consultation_count,
6262
label: t('get_involved.closed_consultations'),
63-
href: "/government/organisations#ministerial_departments"
63+
href: "/search/policy-papers-and-consultations?content_store_document_type=closed_consultations"
6464
} %>
6565
</div>
6666
</div>

0 commit comments

Comments
 (0)