File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 135135 {% if feedbackLink %}
136136 {{ govukPhaseBanner({
137137 tag: {
138- text: phaseTag
138+ text: phaseTag | title
139139 },
140140 html: 'This is a new service – your < a class ="govuk-link " href =' + feedbackLink + '> feedback</ a > will help us to improve it.'
141141 }) }}
142142 {% else %}
143143 {{ govukPhaseBanner({
144144 tag: {
145- text: phaseTag
145+ text: phaseTag | title
146146 }
147147 }) }}
148148 {% endif %}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ suite(`Phase banner`, () => {
3232 const $ = cheerio . load ( response . payload ) ;
3333
3434 expect ( $ ( ".govuk-phase-banner__content__tag" ) . text ( ) . trim ( ) ) . to . equal (
35- "beta "
35+ "Beta "
3636 ) ;
3737 } ) ;
3838
@@ -54,7 +54,7 @@ suite(`Phase banner`, () => {
5454 const $ = cheerio . load ( response . payload ) ;
5555
5656 expect ( $ ( ".govuk-phase-banner__content__tag" ) . text ( ) . trim ( ) ) . to . equal (
57- "alpha "
57+ "Alpha "
5858 ) ;
5959 } ) ;
6060
You can’t perform that action at this time.
0 commit comments