From 7ad2364c09d01f78cfc129887c31e26d4bb8ecb6 Mon Sep 17 00:00:00 2001 From: Tomas D'Stefano Date: Mon, 25 Nov 2024 12:57:03 +0000 Subject: [PATCH] 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) }