mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-29 08:48:01 -05:00
Fix test for non-collectionized sites still containing data coll
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user