Sha256: b4385fa5938e0b9f58d13f81592cc5d6c3dfd9cff4a526b1ef13a2a9a2f1a733

Contents?: true

Size: 519 Bytes

Versions: 25

Compression:

Stored size: 519 Bytes

Contents

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

class ArchiveExtensionTest < Test::Unit::TestCase
    
  def test_initialization
    assert_equal File.join(File.expand_path(RADIANT_ROOT), 'vendor', 'extensions', 'archive'), ArchiveExtension.root
    assert_equal 'Archive', ArchiveExtension.extension_name
  end
  
  def test_should_define_pages
    assert defined?(ArchivePage)
    assert defined?(ArchiveYearIndexPage)
    assert defined?(ArchiveMonthIndexPage)
    assert defined?(ArchiveDayIndexPage)
  end
end

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
radiantcms-couchrest_model-0.2.4 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiantcms-couchrest_model-0.2.2 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiantcms-couchrest_model-0.2.1 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiantcms-couchrest_model-0.2 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiantcms-couchrest_model-0.1.9 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiantcms-couchrest_model-0.1.8 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiantcms-couchrest_model-0.1.7 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiantcms-couchrest_model-0.1.6 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiantcms-couchrest_model-0.1.5 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiantcms-couchrest_model-0.1.4 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.7.2 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.9.1 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.8.2 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.9.0.rc2 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-rc-0.9.0 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.8.1 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.6.5.1 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.6.5 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.6.7 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.6.6 vendor/extensions/archive/test/functional/archive_extension_test.rb