Clean up test suite

This commit is contained in:
Jonathan Rudenberg
2011-10-15 20:04:27 -04:00
parent 8e3f0c122e
commit 05a20c627d
30 changed files with 6 additions and 647 deletions
+15
View File
@@ -0,0 +1,15 @@
require 'test_helper'
class AssignTest < Test::Unit::TestCase
include Liquid
def test_assigned_variable
assert_template_result('.foo.',
'{% assign foo = values %}.{{ foo[0] }}.',
'values' => %w{foo bar baz})
assert_template_result('.bar.',
'{% assign foo = values %}.{{ foo[1] }}.',
'values' => %w{foo bar baz})
end
end # AssignTest