Browse Source

CLDC-2439: string as var in test

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

3
spec/helpers/interruption_screen_helper_spec.rb

@ -166,7 +166,8 @@ RSpec.describe InterruptionScreenHelper do
context "when a string given" do context "when a string given" do
it "returns the string" do it "returns the string" do
expect(display_informative_text("some words", lettings_log)).to eq("some words") test_string = "some words"
expect(display_informative_text(test_string, lettings_log)).to eq(test_string)
end end
end end
end end

Loading…
Cancel
Save