Sha256: 2dc245df9bec685aa1c4fe6b6ffef88cd92277427e8354b9e09faf9536acf32c

Contents?: true

Size: 654 Bytes

Versions: 30

Compression:

Stored size: 654 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class ArchiveMonthIndexPageTest < Test::Unit::TestCase
  fixtures :pages
  test_helper :pages, :archive_index, :render

  def setup
    @page = pages(:month_index)
  end
  
  def test_children_tag
    assert_renders 'article-2 article-3 ', '<r:archive:children:each><r:slug /> </r:archive:children:each>', '/archive/2000/06/'
    assert_renders 'article-2 article-3 ', '<r:archive:children:each><r:slug /> </r:archive:children:each>', '/archive/2000/06'
  end
  
  def test_title_tag
    assert_renders 'June 2000 Archive', '<r:title />', '/archive/2000/06/'
  end
  
  include ArchiveIndexTests
  
end

Version data entries

30 entries across 30 versions & 3 rubygems

Version Path
radiantcms-couchrest_model-0.2.4 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiantcms-couchrest_model-0.2.2 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiantcms-couchrest_model-0.2.1 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiantcms-couchrest_model-0.2 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiantcms-couchrest_model-0.1.9 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiantcms-couchrest_model-0.1.8 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiantcms-couchrest_model-0.1.7 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiantcms-couchrest_model-0.1.6 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiantcms-couchrest_model-0.1.5 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiantcms-couchrest_model-0.1.4 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiant-0.7.2 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiant-0.9.1 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiant-0.8.2 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiant-0.9.0.rc2 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiant-rc-0.9.0 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiant-0.8.1 vendor/extensions/archive/test/unit/archive_month_index_page_test.rb
radiant-0.6.0 test/unit/archive_month_index_page_test.rb
radiant-0.6.1 test/unit/archive_month_index_page_test.rb
radiant-0.6.2 test/unit/archive_month_index_page_test.rb
radiant-0.6.3 test/unit/archive_month_index_page_test.rb