Sha256: 2abff08843520e3fc017cc3e6e8ec044c5ac92b185b205deb3a3f8e32200fa7f

Contents?: true

Size: 517 Bytes

Versions: 5

Compression:

Stored size: 517 Bytes

Contents

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

class StaticSidebarTest < Test::Unit::TestCase
  def test_creation
    assert_kind_of Sidebar, StaticSidebar.new
  end

  def test_default_title
    assert_equal 'Links', StaticSidebar.new.title
  end

  def test_default_body
    assert_equal StaticSidebar::DEFAULT_TEXT, StaticSidebar.new.body
  end

  def test_description
    assert_equal "Static content, like links to other sites, advertisements, or blog meta-information", StaticSidebar.description
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typo-4.1.1 test/unit/static_sidebar_test.rb
typo-5.0.1 test/unit/static_sidebar_test.rb
typo-4.1 test/unit/static_sidebar_test.rb
typo-5.0.2 test/unit/static_sidebar_test.rb
typo-5.0 test/unit/static_sidebar_test.rb