From f19f75a424fc65d8dbe02892494535fbc8cf98b0 Mon Sep 17 00:00:00 2001 From: meyric Date: Wed, 3 Jan 2024 12:34:35 +0000 Subject: [PATCH] Add new activity tag DSIT asked to have the following activity tag added: code: 8 description: Strategic Allocation Pot (SAP) This was on dxw support ticket #19080 --- CHANGELOG.md | 2 ++ spec/helpers/codelist_helper_spec.rb | 6 +++--- vendor/data/codelists/BEIS/tags.yml | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16aa0fcd9..8424c535e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ [Full changelog][unreleased] +- add a new Activity tag, Strategic Allocation Pot (SAP), code 8 + ## Release 141 - 2023-12-04 [Full changelog][141] diff --git a/spec/helpers/codelist_helper_spec.rb b/spec/helpers/codelist_helper_spec.rb index 2cbfd07e7..7bc59c5cf 100644 --- a/spec/helpers/codelist_helper_spec.rb +++ b/spec/helpers/codelist_helper_spec.rb @@ -240,11 +240,11 @@ it "returns the BEIS codes and descriptions" do options = helper.tags_options - expect(options.length).to eq 7 + expect(options.length).to eq 8 expect(options.first.code).to eq 1 expect(options.first.description).to eq "Ayrton Fund" - expect(options.last.code).to eq 7 - expect(options.last.description).to eq "Previously reported under Newton Fund" + expect(options.last.code).to eq 8 + expect(options.last.description).to eq "Strategic Allocation Pot (SAP)" end end end diff --git a/vendor/data/codelists/BEIS/tags.yml b/vendor/data/codelists/BEIS/tags.yml index 8b61d73ab..6a9ca7b7a 100644 --- a/vendor/data/codelists/BEIS/tags.yml +++ b/vendor/data/codelists/BEIS/tags.yml @@ -13,3 +13,5 @@ data: description: Previously reported under GCRF - code: 7 description: Previously reported under Newton Fund + - code: 8 + description: Strategic Allocation Pot (SAP)