Sha256: 074da29850c64ca232f5dcb394f03a1118e113d8628aa02ba19c7ce9386623ab
Contents?: true
Size: 423 Bytes
Versions: 19
Compression:
Stored size: 423 Bytes
Contents
require 'test_helper' class ExpressTemplatesTest < ActiveSupport::TestCase test "we have a module" do assert_kind_of Module, ExpressTemplates end test "ExpressTemplates.render renders a template" do result = ExpressTemplates.render(self) do ul { li 'one' li 'two' li 'three' } end assert_equal "<ul><li>one</li><li>two</li><li>three</li></ul>", result end end
Version data entries
19 entries across 19 versions & 2 rubygems