Write test for site.documents.

This commit is contained in:
Parker Moore
2014-05-06 00:11:35 -04:00
parent fc98f06ed7
commit 3755437d08
2 changed files with 13 additions and 1 deletions

View File

@@ -413,7 +413,7 @@ module Jekyll
def documents
collections.reduce(Set.new) do |docs, (_, collection)|
docs.merge(collection.docs)
end
end.to_a
end
def each_site_file