Sha256: 892d3f5af2cd1120ff8d6a6a3c7c103deb84a25e59e14c7e513f9b08537a65c3
Contents?: true
Size: 287 Bytes
Versions: 7
Compression:
Stored size: 287 Bytes
Contents
require 'test_helper' class CaseTagUnitTest < Minitest::Test include Liquid def test_case_nodelist template = Liquid::Template.parse('{% case var %}{% when true %}WHEN{% else %}ELSE{% endcase %}') assert_equal ['WHEN', 'ELSE'], template.root.nodelist[0].nodelist end end
Version data entries
7 entries across 7 versions & 1 rubygems