add test for collection name

This commit is contained in:
Bud Parr 2014-06-02 15:12:21 -04:00
parent 441ac3742c
commit dc622470c9
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,10 @@ class TestDocument < Test::Unit::TestCase
}, @document.data) }, @document.data)
end end
should "output the collection name in the #to_liquid method" do
assert_equal @document.to_liquid['collection'], "methods"
end
end end
context " a document part of a rendered collection" do context " a document part of a rendered collection" do