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
radiant-0.6.8 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.6.9 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.7.0 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.8.0 vendor/extensions/archive/test/functional/archive_extension_test.rb
radiant-0.7.1 vendor/extensions/archive/test/functional/archive_extension_test.rb