Sha256: b734ba73316b3c36a577e37594ffda222fd7f6fc8e46c91fd2bf359ee9675c8e

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

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

class MarkdownFilterTest < Test::Unit::TestCase

  def test_registered_id
    assert_equal 'Markdown', MarkdownFilter.registered_id
  end

  def test_filter
    markdown = MarkdownFilter.new
    assert_equal '<p><strong>strong</strong></p>', markdown.filter('**strong**')
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-0.5.1 test/unit/filters/markdown_filter_test.rb
radiant-0.5.0 test/unit/filters/markdown_filter_test.rb
radiant-0.5.2 test/unit/filters/markdown_filter_test.rb