Sha256: edd6c773607857c007552271a24c9d99f2d9c52504f812144877ff1b7261746b
Contents?: true
Size: 465 Bytes
Versions: 8
Compression:
Stored size: 465 Bytes
Contents
require 'webgen/test' begin require 'builder' class XmlBuilderConverterTest < Webgen::PluginTestCase plugin_files ['webgen/plugins/contentconverters/xmlbuilder.rb'] plugin_to_test 'ContentConverter/XmlBuilder' def test_initialization assert_not_nil( @plugin ) end def test_call assert_equal( "<div>\n <strong>test</strong>\n</div>\n", @plugin.call( "xml.div { xml.strong('test') }" ) ) end end rescue LoadError end
Version data entries
8 entries across 8 versions & 1 rubygems