mirror of
https://github.com/kemko/liquid.git
synced 2026-01-07 02:35:40 +03:00
Add option legacy file which will load removed constants
This commit is contained in:
13
test/integration/legacy_test.rb
Normal file
13
test/integration/legacy_test.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'test_helper'
|
||||
require 'liquid/legacy'
|
||||
|
||||
class FiltersTest < Minitest::Test
|
||||
include Liquid
|
||||
|
||||
def test_constants
|
||||
assert_equal Liquid::FilterSeparator, Liquid::FILTER_SEPARATOR
|
||||
assert_equal Liquid::BlockBody::ContentOfVariable, Liquid::BlockBody::CONTENT_OF_VARIABLE
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user