Sha256: 289372d390aea62adbeb94f688b649fb92a5cf0bfd554e13541ac3490b5f90c7
Contents?: true
Size: 373 Bytes
Versions: 6
Compression:
Stored size: 373 Bytes
Contents
#!/usr/bin/env ruby require 'helper' class TestErb < Test::Unit::TestCase def test_redcloth_erb template = %{<%=t "This new ERB tag makes is so _easy_ to use *RedCloth*" %>} expected = %{<p>This new <span class="caps">ERB</span> tag makes is so <em>easy</em> to use <strong>RedCloth</strong></p>} assert_equal expected, ERB.new(template).result end end
Version data entries
6 entries across 6 versions & 1 rubygems