#!/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 = %{

This new ERB tag makes is so easy to use RedCloth

} assert_equal expected, ERB.new(template).result end end