# File lib/Borges/TestCase/HtmlBuilderTest.rb, line 162 def test_image_url_anchor html = "<a href=\"/path/to/html/file.html\"><img src=\"/path/to/image.jpg\" alt=\"alternate\"></a>" assert_body_renders(html) do |r| r.image_url_anchor "/path/to/html/file.html", "/path/to/image.jpg", "alternate" end end