Sha256: 37251b7637a2e51911e621c901fa8e0747e903fb810560eff537ebddf1c90b4f

Contents?: true

Size: 378 Bytes

Versions: 3

Compression:

Stored size: 378 Bytes

Contents

# -*- encoding: utf-8 -*-

require 'webgen/test_helper'
require 'webgen/content_processor/r_discount'

class TestRDiscount < MiniTest::Unit::TestCase

  include Webgen::TestHelper

  def test_static_call
    setup_context
    cp = Webgen::ContentProcessor::RDiscount

    @context.content = '# header'
    assert_equal("<h1>header</h1>\n", cp.call(@context).content)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webgen-1.0.0.beta3 test/webgen/content_processor/test_r_discount.rb
webgen-1.0.0.beta2 test/webgen/content_processor/test_r_discount.rb
webgen-1.0.0.beta1 test/webgen/content_processor/test_r_discount.rb