Sha256: 3008660b167b9dcba4ed5f1c8867b955080a7f73b40e6816f456a42690f98408
Contents?: true
Size: 394 Bytes
Versions: 11
Compression:
Stored size: 394 Bytes
Contents
require 'test_helper' class TagUnitTest < Minitest::Test include Liquid def test_tag tag = Tag.parse('tag', [], [], {}) assert_equal 'liquid::tag', tag.name assert_equal '', tag.render(Context.new) end def test_return_raw_text_of_tag tag = Tag.parse("long_tag", "param1, param2, param3", [], {}) assert_equal("long_tag param1, param2, param3", tag.raw) end end
Version data entries
11 entries across 11 versions & 2 rubygems