Sha256: d8612cbbe0598751a60e3160387006d457e3bdb89338fb8cfa7fd23716018577

Contents?: true

Size: 346 Bytes

Versions: 8

Compression:

Stored size: 346 Bytes

Contents

require 'webgen/test'

class HtmlConverterTest < Webgen::PluginTestCase

  plugin_files ['webgen/plugins/contentconverters/html.rb']
  plugin_to_test 'ContentConverter/HTML'

  def test_initialization
    assert_not_nil( @plugin )
  end

  def test_call
    assert_equal( '<a href="">test</a>', @plugin.call( '<a href="">test</a>' ) )
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

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