# File lib/Borges/TestCase/HtmlBuilderTest.rb, line 240 def test_style_link output = render do |r| r.style_link "http://localhost/css/style.css" end assert_match(/<link/, output, "Has a link") assert_match(/media="all"/, output, "media is set to \"all\"") assert_match(/type="text\/css"/, output, "type is set to \"text/css") assert_match(/rel="stylesheet"/, output, "rel is set to \"stylesheet\"") assert_match(/href="http:\/\/localhost\/css\/style.css"/, output, "href is set to \"http://localhost/css/style.css\"") end