Sha256: d540c3881d01c4b70a547025265109af5b523c0d10296e8add0fadcbe99d0177
Contents?: true
Size: 646 Bytes
Versions: 3
Compression:
Stored size: 646 Bytes
Contents
require File.dirname(__FILE__) + '/../../test_helper' class ArchiveDayIndexBehaviorTest < Test::Unit::TestCase fixtures :pages test_helper :archive_index, :behavior_render def setup @page = pages(:day_index) end def test_children_tag assert_renders 'article-2 ', '<r:archive:children:each><r:slug /> </r:archive:children:each>', '/archive/2000/06/09/' assert_renders 'article-2 ', '<r:archive:children:each><r:slug /> </r:archive:children:each>', '/archive/2000/06/09' end def test_title_tag assert_renders 'June 09, 2000 Archive', '<r:title />', '/archive/2000/06/09/' end include ArchiveIndexTests end
Version data entries
3 entries across 3 versions & 1 rubygems