Fix test for non-collectionized sites still containing data coll
This commit is contained in:
parent
62551b5ff9
commit
2f99e1d5c1
|
@ -57,8 +57,10 @@ class TestCollections < Test::Unit::TestCase
|
||||||
@site.process
|
@site.process
|
||||||
end
|
end
|
||||||
|
|
||||||
should "not contain any collections" do
|
should "not contain any collections other than the default ones" do
|
||||||
assert_equal @site.collections, Hash.new
|
collections = @site.collections.dup
|
||||||
|
assert collections.delete("data").is_a?(Jekyll::Collection)
|
||||||
|
assert_equal Hash.new, collections
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue