Sha256: ae7e3eddd16d7b9d03c80174a66628aa6e90a64347caf39f11f85428fe26248a

Contents?: true

Size: 986 Bytes

Versions: 30

Compression:

Stored size: 986 Bytes

Contents

module ArchiveIndexTestHelper
  module ArchiveIndexTests
    
    def test_page_virtual?
      assert_equal true, @page.virtual?
    end
    
    def test_first_tag__index
      assert_renders 'unimplemented', '<r:archive:children:first><r:slug /></r:archive:children:first>'
    end

    def test_last_tag__index
      assert_renders 'unimplemented', '<r:archive:children:last><r:slug /></r:archive:children:last>'
    end

    def test_count_tag__index
      assert_renders 'unimplemented', '<r:archive:children:count />'
    end
    
    def test_year_tag
      assert_renders '2000', '<r:archive:year />', '/archive/2000/'
    end
    
    def test_month_tag
      assert_renders 'June', '<r:archive:month />', '/archive/2000/06/'
    end
    
    def test_day_tag
      assert_renders '9', '<r:archive:day />', '/archive/2000/06/09/'
    end
    
    def test_day_of_week_tag
      assert_renders 'Friday', '<r:archive:day_of_week />', '/archive/2000/06/09/'
    end
    
  end
end

Version data entries

30 entries across 30 versions & 3 rubygems

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