Sha256: 32dd90e9fb5da15728c95f852ceb79035dad0948df29e58a0addb79b4d226b25
Contents?: true
Size: 408 Bytes
Versions: 8
Compression:
Stored size: 408 Bytes
Contents
require 'webgen/test' require 'webgen/node' class MetaTagTest < Webgen::TagTestCase plugin_files [ 'webgen/plugins/tags/meta.rb', ] plugin_to_test 'Tag/Meta' def test_process_tag node = Node.new( nil, 'hallo.page' ) node.meta_info['test'] = 10 assert_equal( '', @plugin.process_tag( 'invalid', [node] ) ) assert_equal( '10', @plugin.process_tag( 'test', [node] ) ) end end
Version data entries
8 entries across 8 versions & 1 rubygems