From 77297744ceccd5a03e157c0aac82935d821307d3 Mon Sep 17 00:00:00 2001 From: Chris Frederick Date: Sun, 7 Sep 2014 16:49:14 +0900 Subject: [PATCH] Add a test for the slugify Liquid filter --- test/test_filters.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_filters.rb b/test/test_filters.rb index 58841fe8..e4f1adf3 100644 --- a/test/test_filters.rb +++ b/test/test_filters.rb @@ -217,5 +217,11 @@ class TestFilters < Test::Unit::TestCase 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