Fix another drop call regression

This commit is contained in:
Jonathan Rudenberg
2011-10-14 11:21:22 -04:00
parent f129ee33f2
commit 487b240404
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -159,4 +159,8 @@ class DropsTest < Test::Unit::TestCase
def test_empty_string_value_access
assert_equal '', Liquid::Template.parse('{{ product[value] }}').render('product' => ProductDrop.new, 'value' => '')
end
def test_nil_value_access
assert_equal '', Liquid::Template.parse('{{ product[value] }}').render('product' => ProductDrop.new, 'value' => nil)
end
end # DropsTest