Allow :id to start with the word contains

This commit is contained in:
Michael Angell
2016-08-20 20:32:46 +10:00
parent f41ed78378
commit 6ed6e7e12f
3 changed files with 8 additions and 3 deletions
+4
View File
@@ -115,4 +115,8 @@ class ParsingQuirksTest < Minitest::Test
assert_template_result('12345', "{% for i in (1...5) %}{{ i }}{% endfor %}")
end
end
def test_contains_in_id
assert_template_result(' YES ', '{% if containsallshipments == true %} YES {% endif %}', 'containsallshipments' => true)
end
end # ParsingQuirksTest