parent
568257a192
commit
37b729fd87
|
|
@ -55,6 +55,10 @@ class TestCollections < JekyllUnitTest
|
||||||
assert_equal @collection.to_liquid["docs"], []
|
assert_equal @collection.to_liquid["docs"], []
|
||||||
end
|
end
|
||||||
|
|
||||||
|
should "have a files attribute" do
|
||||||
|
assert_equal @collection.to_liquid["files"], []
|
||||||
|
end
|
||||||
|
|
||||||
should "have a directory attribute" do
|
should "have a directory attribute" do
|
||||||
assert_equal @collection.to_liquid["directory"], source_dir("_methods")
|
assert_equal @collection.to_liquid["directory"], source_dir("_methods")
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue