Sha256: caa718c49340622c1510d9ada94417ced692687830a9ef291dd34cf8758027f1

Contents?: true

Size: 404 Bytes

Versions: 8

Compression:

Stored size: 404 Bytes

Contents

require 'webgen/test'

begin
  require 'bluecloth'

  class MarkdownConverterTest < Webgen::PluginTestCase

    plugin_files ['webgen/plugins/contentconverters/markdown.rb']
    plugin_to_test 'ContentConverter/Markdown'

    def test_initialization
      assert_not_nil( @plugin )
    end

    def test_call
      assert_nothing_raised { @plugin.call( '* hello' ) }
    end

  end

rescue LoadError
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
webgen-0.4.1 test/unittests/tc_contentconverters_markdown.rb
webgen-0.4.2 test/unittests/tc_contentconverters_markdown.rb
webgen-0.4.0 test/unittests/tc_contentconverters_markdown.rb
webgen-0.4.5 test/unittests/tc_contentconverters_markdown.rb
webgen-0.4.4 test/unittests/tc_contentconverters_markdown.rb
webgen-0.4.3 test/unittests/tc_contentconverters_markdown.rb
webgen-0.4.7 test/unittests/tc_contentconverters_markdown.rb
webgen-0.4.6 test/unittests/tc_contentconverters_markdown.rb