File: template_factory_unit_test.rb

package info (click to toggle)
ruby-liquid 5.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,176 kB
  • sloc: ruby: 10,561; makefile: 6
file content (12 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require 'test_helper'

class TemplateFactoryUnitTest < Minitest::Test
  include Liquid

  def test_for_returns_liquid_template_instance
    template = TemplateFactory.new.for("anything")
    assert_instance_of(Liquid::Template, template)
  end
end