From eda11aa534aa1c9a6263597e9d5595ff17dfbcde Mon Sep 17 00:00:00 2001 From: "maul.esel" Date: Sat, 11 May 2013 18:03:51 +0200 Subject: [PATCH] ensure number category is NOT included as fixnum --- test/test_post.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_post.rb b/test/test_post.rb index d295155c..9ea972a8 100644 --- a/test/test_post.rb +++ b/test/test_post.rb @@ -426,6 +426,7 @@ class TestPost < Test::Unit::TestCase should "recognize number category in yaml" do post = setup_post("2013-05-10-number-category.textile") assert post.categories.include?('2013') + assert !post.categories.include?(2013) end should "recognize tag in yaml" do