# File lib/Borges/TestCase/HtmlBuilderTest.rb, line 169 def test_image_alt html = "<img src=\"/path/to/image.jpg\" alt=\"alternate text\">" assert_body_renders(html) do |r| r.image "/path/to/image.jpg", "alternate text" end end