diff --git a/spec/helpers/interuption_screen_helper_spec.rb b/spec/helpers/interuption_screen_helper_spec.rb index df17c30cf..e02c31ce5 100644 --- a/spec/helpers/interuption_screen_helper_spec.rb +++ b/spec/helpers/interuption_screen_helper_spec.rb @@ -25,7 +25,7 @@ RSpec.describe InteruptionScreenHelper do "argument" => %w[ecstat1 earnings], } expect(display_informative_text(informative_text, case_log)) - .to eq("This is based on the tenant’s work situation: Full-time – 30 hours or more
The household income you have entered is £750.00 every week") + .to eq("

This is based on the tenant’s work situation: Full-time – 30 hours or more
The household income you have entered is £750.00 every week

") end end @@ -36,7 +36,7 @@ RSpec.describe InteruptionScreenHelper do "argument" => %w[ecstat1], } expect(display_informative_text(informative_text, case_log)) - .to eq("This is based on the tenant’s work situation: Full-time – 30 hours or more") + .to eq("

This is based on the tenant’s work situation: Full-time – 30 hours or more

") end end end @@ -48,7 +48,7 @@ RSpec.describe InteruptionScreenHelper do "argument" => %w[ecstat1 earnings], } expect(display_informative_text(informative_text, case_log)) - .to eq("This is based on the tenant’s work situation: Full-time – 30 hours or more") + .to eq("

This is based on the tenant’s work situation: Full-time – 30 hours or more

") end end