Skip to content

Commit f7bc93c

Browse files
mikejamesthompsonmisaka
authored andcommitted
Show dose number against Flu vaccination records
Jira-Issue: MAV-1502
1 parent e2b7d21 commit f7bc93c

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

app/components/app_vaccination_record_summary_component.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,6 @@ def dose_number_value
329329
end
330330

331331
def dose_number
332-
return nil if @programme.seasonal?
333-
334332
dose_sequence = @vaccination_record.dose_sequence
335333

336334
if dose_sequence.nil?

spec/components/app_vaccination_record_summary_component_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@
151151
let(:programme) { create(:programme, :flu) }
152152

153153
it do
154-
expect(rendered).not_to have_css(
154+
expect(rendered).to have_css(
155155
".nhsuk-summary-list__row",
156-
text: "Dose number"
156+
text: "Dose number\nFirst"
157157
)
158158
end
159159
end

0 commit comments

Comments
 (0)