require "test_helper" class MailerHelperTest < ActionView::TestCase test "htmlify_email adds correct tags" do input = <<~TEST.chomp One line here. Another one here. The same paragraph. And another. TEST expected_output = <<~TEST.chomp
One line here.
Another one here. The same paragraph.
And another.
TEST assert_equal expected_output, htmlify_email(input) end end