Sha256: a4aff35b56275bc9e03efbd2cc839c10bf6ca290dcf4a8e329fb29ce3f80f27f
Contents?: true
Size: 243 Bytes
Versions: 7
Compression:
Stored size: 243 Bytes
Contents
require 'test_helper' class IfTagUnitTest < Minitest::Test def test_if_nodelist template = Liquid::Template.parse('{% if true %}IF{% else %}ELSE{% endif %}') assert_equal ['IF', 'ELSE'], template.root.nodelist[0].nodelist end end
Version data entries
7 entries across 7 versions & 1 rubygems