From e0791eb48a5002b668fb1d875e837bb6e00d3585 Mon Sep 17 00:00:00 2001 From: MadeTech Dushan Date: Wed, 9 Mar 2022 16:37:08 +0000 Subject: [PATCH] fix specs --- spec/helpers/interuption_screen_helper_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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