Sha256: fe4918a210d1b1fa6dd97f095af97c44a91023d418ac676d021a2c9e167be842
Contents?: true
Size: 676 Bytes
Versions: 30
Compression:
Stored size: 676 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class ArchiveYearIndexPageTest < Test::Unit::TestCase fixtures :pages test_helper :pages, :archive_index, :render def setup @page = pages(:year_index) end def test_children_tag assert_renders 'article article-2 article-3 article-4 ', '<r:archive:children:each><r:slug /> </r:archive:children:each>', '/archive/2000/' assert_renders 'article article-2 article-3 article-4 ', '<r:archive:children:each><r:slug /> </r:archive:children:each>', '/archive/2000' end def test_title_tag assert_renders '2000 Archive', '<r:title />', '/archive/2000/' end include ArchiveIndexTests end
Version data entries
30 entries across 30 versions & 3 rubygems