From 37b729fd87fd36e9f0c32a8d36617993132d6fc8 Mon Sep 17 00:00:00 2001 From: Roger Rohrbach Date: Thu, 5 Apr 2018 13:26:29 -0700 Subject: [PATCH] Assert existence of .files (#6907) Merge pull request 6907 --- test/test_collections.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_collections.rb b/test/test_collections.rb index e4dbe951..33d3f912 100644 --- a/test/test_collections.rb +++ b/test/test_collections.rb @@ -55,6 +55,10 @@ class TestCollections < JekyllUnitTest assert_equal @collection.to_liquid["docs"], [] end + should "have a files attribute" do + assert_equal @collection.to_liquid["files"], [] + end + should "have a directory attribute" do assert_equal @collection.to_liquid["directory"], source_dir("_methods") end