From 1b2d0198eaea92f92d14b6c848ed7e183f8cd973 Mon Sep 17 00:00:00 2001 From: Dennis Theisen Date: Wed, 22 Feb 2012 14:30:19 -0500 Subject: [PATCH] Added backwards compatibility test for tablerow tag update * Follow up to 043d816 --- test/liquid/tags/html_tag_test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/liquid/tags/html_tag_test.rb b/test/liquid/tags/html_tag_test.rb index c3ba1bc..c54234d 100644 --- a/test/liquid/tags/html_tag_test.rb +++ b/test/liquid/tags/html_tag_test.rb @@ -28,6 +28,9 @@ class HtmlTagTest < Test::Unit::TestCase end def test_quoted_fragment + assert_template_result("\n 1 2 3 \n 4 5 6 \n", + "{% tablerow n in collections.frontpage cols:3%} {{n}} {% endtablerow %}", + 'collections' => {'frontpage' => [1,2,3,4,5,6]}) assert_template_result("\n 1 2 3 \n 4 5 6 \n", "{% tablerow n in collections['frontpage'] cols:3%} {{n}} {% endtablerow %}", 'collections' => {'frontpage' => [1,2,3,4,5,6]})