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