Browse Source

CLDC-2439: display_informative_text test added for strings

pull/1718/head
Aaron Spencer 3 years ago
parent
commit
a5a3129f9c
  1. 6
      spec/helpers/interruption_screen_helper_spec.rb

6
spec/helpers/interruption_screen_helper_spec.rb

@ -163,6 +163,12 @@ RSpec.describe InterruptionScreenHelper do
expect(display_informative_text(informative_text_hash, lettings_log)).to eq("You said this: £12,345.00") expect(display_informative_text(informative_text_hash, lettings_log)).to eq("You said this: £12,345.00")
end end
end end
context "when a string given" do
it "returns the string" do
expect(display_informative_text("some words", lettings_log)).to eq("some words")
end
end
end end
describe "display_title_text" do describe "display_title_text" do

Loading…
Cancel
Save