From 2f99e1d5c10bfdbf3129e67f49256596b727b441 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sun, 6 Apr 2014 13:33:59 -0400 Subject: [PATCH] Fix test for non-collectionized sites still containing data coll --- test/test_collections.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_collections.rb b/test/test_collections.rb index 18ab22d6..8b4c2d23 100644 --- a/test/test_collections.rb +++ b/test/test_collections.rb @@ -57,8 +57,10 @@ class TestCollections < Test::Unit::TestCase @site.process end - should "not contain any collections" do - assert_equal @site.collections, Hash.new + should "not contain any collections other than the default ones" do + collections = @site.collections.dup + assert collections.delete("data").is_a?(Jekyll::Collection) + assert_equal Hash.new, collections end end