Add a test for the slugify Liquid filter

This commit is contained in:
Chris Frederick 2014-09-07 16:49:14 +09:00
parent 394eab4a3a
commit 77297744ce
1 changed files with 6 additions and 0 deletions

View File

@ -217,5 +217,11 @@ class TestFilters < Test::Unit::TestCase
end end
end end
context "slugify filter" do
should "return a slugified string" do
assert_equal "q-bert-says", @filter.slugify(" Q*bert says @!#?@!")
end
end
end end
end end