From f7a84b64affb9a749af14b4232466f06dcc06ae8 Mon Sep 17 00:00:00 2001 From: Tomas D'Stefano Date: Mon, 25 Nov 2024 08:40:46 +0000 Subject: [PATCH 1/2] Enable API course description changes in PRODUCTION --- config/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings.yml b/config/settings.yml index 67030566ae..a156587fd7 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -79,7 +79,7 @@ feedback: link: https://forms.office.com/pages/responsepage.aspx?id=yXfS-grGoU2187O4s0qC-SKECobyE75EtuJMp8rYxZtURTNaTTJaTVhBQlQzM1RESTJDVlBERk1JQS4u features: - api_summary_content_change: false + api_summary_content_change: true send_request_data_to_bigquery: false rollover: # Normally a short period of time between rollover and the next cycle From 7ad2364c09d01f78cfc129887c31e26d4bb8ecb6 Mon Sep 17 00:00:00 2001 From: Tomas D'Stefano Date: Mon, 25 Nov 2024 12:57:03 +0000 Subject: [PATCH 2/2] Change spec to the course summary default behaviour --- spec/serializers/api/public/v1/serializable_course_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/serializers/api/public/v1/serializable_course_spec.rb b/spec/serializers/api/public/v1/serializable_course_spec.rb index 6b0b11dce6..b42d36a073 100644 --- a/spec/serializers/api/public/v1/serializable_course_spec.rb +++ b/spec/serializers/api/public/v1/serializable_course_spec.rb @@ -88,7 +88,7 @@ it { is_expected.to have_attribute(:start_date).with_value("September #{course.provider.recruitment_cycle.year}") } it { is_expected.to have_attribute(:state).with_value('published') } it { is_expected.to have_attribute(:study_mode).with_value('full_time') } - it { is_expected.to have_attribute(:summary).with_value('PGCE with QTS full time teaching apprenticeship') } + it { is_expected.to have_attribute(:summary).with_value('QTS with PGCE full time teaching apprenticeship') } it { is_expected.to have_attribute(:subject_codes).with_value(%w[00]) } it { is_expected.to have_attribute(:degree_grade).with_value(course.degree_grade) }